SKStoreProductViewController crashes on presenting in apps not supporting Portrait orientation

Originator:anastasia.makarenko1
Number:rdar://33799746 Date Originated:August 9, 2017
Status:Closed Resolved:August 14, 2017
Product:iOS + SDK Product Version:
Classification:StoreKit Reproducible:Always
 
Summary: 
App not supporting Portrait orientation crashes on presenting SKStoreProductViewController with message 'Supported orientations has no common orientation with the application, and [SKStoreProductViewController shouldAutorotate] is returning YES'

Steps to Reproduce:
1. Before launching app, set 'UISupportedInterfaceOrientations' in Info.plist to support all orientations except Portrait: UIInterfaceOrientationLandscapeRight, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationPortraitUpsideDown
2. Present SKStoreProductViewController
3. App crashes

Simulators: all iPhone and iPad iOS 10.3.1, iPhone 4s iOS 8.4
Device: iPhone 5s, iOS 10.1

Answer:
Please know that our engineering team has determined that this issue behaves as intended based on the information provided.  The store sheet only supports portrait.

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!