for UIKit app you may need to give the 'post' code a small delay. Mostly due that accessibility tree is being created behind the scenes and it takes some time. Typical pattern would be:
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
UIAccessibility.post(notification: .layoutChanged, argument: label)
}