UIDocumentMenuViewController menu choices are not visible on iOS 10 (beta)
Originator: | jkirsakmens | ||
Number: | rdar://27784397 | Date Originated: | 10-Aug-2016 02:44 PM |
Status: | Closed | Resolved: | 27-Aug-2016 |
Product: | iOS | Product Version: | iOS 10.0 (14A5335b) |
Classification: | Serious Bug | Reproducible: | Always |
Area: UIKit Summary: When presenting UIDocumentMenuViewController menu choices are empty, just Cancel button is visble: Steps to Reproduce: 1) Open attached project 2) Add iCloud Documents entitlement to app target 3) Run project and click [Add image button] 4) Rotate device to see menu choices shortly appearing and then disappearing again Expected Results: Menu choices should be always visible, no menu flickering during controller presentation Actual Results: menu choices are empty, just Cancel button is visible, menu choices shortly appear on screen when device is rotated Problem is also persistent when device with iOS 10 opens app compiled with Xcode 7.3.1 (7D1014) / iOS 9.3 SDK Notes: Related rdar://27638144 See also: rdar://19385063 rdar://27471372 Attachments: 'bug-UIDocumentMenuViewController-layout.zip' was successfully uploaded.
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!
Closed
Jurgis Kirsakmens27-Aug-2016 11:48 AM
Fixed in iOS10 beta 6. Thanks. This issue has been verified as resolved and can be closed.
Apple Developer Relations16-Aug-2016 00:51 AM
Engineering has provided the following feedback regarding this issue:
works correctly in iOS 10 beta 6 (Build: 14A5341a) if you remove:
—> [menuController.view setTranslatesAutoresizingMaskIntoConstraints:NO];
I encountered the same bug and found that we were doing this hack which caused it. Fixed by removing the hack. http://stackoverflow.com/questions/26522031/uidocumentmenuviewcontroller-showing-on-ipad-gives-unable-to-simultaneously-sat
The same as this