iMessage extension sets wrong bottom edge insets on collapse
| Originator: | futuretap | ||
| Number: | rdar://27453762 | Date Originated: | 20-Jul-2016 08:44 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0b3 |
| Classification: | UI/Usability | Reproducible: | Always |
When an iMessage extension transitions from extended to compact presentation style, the bottom edge insets are not applied.
See the attached screencast of the (unmodified) IceCreamBuilder Apple sample app. After collapsing the view, the contentInset of the UICollectionView is wrong and the user can scroll below the content.
I examined this in the debugger:
(lldb) p (childViewControllers.first! as! UICollectionViewController).collectionView?.contentInset
(UIEdgeInsets?) $R11 = some {
top = 0
left = 0
bottom = 302
right = 0
}
The bottom inset should be 44, not 302.
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!