MSMessagesAppViewController: dismiss() is incorrectly tagged as available in iOS 11 only
| Originator: | futuretap | ||
| Number: | rdar://33062276 | Date Originated: | 29-Juni-2017 10:54 PM |
| Status: | Duplicate/32678766/Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | 11.0 beta 2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: I use dismiss() in my MSMessagesAppViewController subclass (Swift). dismiss() is part of the MSMessagesAppCompactOrExpandedPresentation protocol which is tagged @available(iOS 11.0, *). This is wrong since dismiss() is available since iOS 10. Steps to Reproduce: Create a Swift iMessage app from the Xcode template. Use dismiss() anywhere in the MSMessagesAppViewController subclass. Expected Results: It should just work since dismiss() is available since iOS 10. Actual Results: Xcode build fails with: 'dismiss()' is only available on iOS application extension 11.0 or newer Version: 11.0 beta 2 Notes:
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!