Closed
Description
- I have read CONTRIBUTING and have done my best to follow them.
What did you do?
In Xcode 10.2.1 (iOS 12.4), in order to trigger viewDidAppear
logic did the following:
let viewController = ViewController()
let _ = viewController.view
let window = UIWindow(frame: UIScreen.main.bounds)
window.layer.speed = 10
viewController.modalPresentationStyle = .fullScreen
viewController.beginAppearanceTransition(true, animated: false)
window.rootViewController = viewController
window.makeKeyAndVisible()
viewController.endAppearanceTransition()
...
expect(viewController.viewDidAppearCalled).to(equal(true))
What did you expect to happen ?
It should pass
What actually happened instead?
In Xcode 11.3 / iOS 12 or Xcode 10 / iOS 12 the above test passes, in Xcode 11.3/ iOS 13 it does not.
Environment
List the software versions you're using:
- Quick: 2.2.0
- Nimble: 8.0.4
- Xcode Version: 13.3 (11C29) (Open Xcode; In menubar: Xcode > About Xcode)
- Swift Version: 5.1 (Open Xcode Preferences; Components > Toolchains. If none, use
Xcode Default
.)
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
- CocoaPods: 1.6.1 (Use
pod --version
in Terminal)
Project that demonstrates the issue
See the only test in the project.
https://github.com/nickm01/Test13ViewWillAppear