PKAddPassesViewController doesn’t animate properly upon dismissal
| Originator: | nicolas.bouilleaud | ||
| Number: | rdar://21440453 | Date Originated: | 2015-06-18 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0 (13A4254u) |
| Classification: | UI/Usability | Reproducible: | Always |
When dismissing the PKAddPassesViewController in the delegate addPassesViewControllerDidFinish method, the view controller disappears abruptly, without fading out. Steps to Reproduce: See attached minimal project. The three button present a PKAddPassesViewController with a different delegate: 1. addPassesViewControllerDidFinish is unimplemented 2. addPassesViewControllerDidFinish is empty 3. addPassesViewControllerDidFinish dismisses the PKAddPassesViewController. Expected Results: In cases 1. and 2., I’m not sure what should happen. The documentation states that addPassesViewControllerDidFinish is optional, but that the implementation should dismiss presentation. In case 3. the PKAddPassesViewController should disappear with an animation. Actual Results: 1. the PKAddPassesViewController fades out 2. the PKAddPassesViewController never disappears 3. the PKAddPassesViewController is dismissed abruptly without fading out Version: iOS 9.0 (13A4254u) Notes: This is not a new bug: this was already the case in iOS 8 and possibly before. The problem I’m reporting is about case 3, where there should be an animation. There is also arguably a documentation issue to explain what the expected behavior should be in case 1 and 2. Configuration: iPhone Simulator Attachments: 'TestPKPassesAddition.zip' was successfully uploaded. http://cl.ly/1R0l3n3g3y3Q/download/TestPKPassesAddition.zip
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!