We're having an landscape only app on iOS, and I'm getting the following error (app termination) when using Rich Pages.

<Error>: *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [RichPushViewController shouldAutorotate] is returning YES'

I found the "PushNotificationManager" class provides a property "supportedOrientations", but it is not documented what this does, and if it would affect the "RichPushViewController".

Is there another solution I can use to not have this error (instead of updating my app Info.plist orientation setting and blocking the rotation for all the other view controllers?

asked 31 Mar '15, 10:49
Maarten's gravatar image

Maarten
11

edited 31 Mar '15, 11:45

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×353
×25
×15

question asked: 31 Mar '15, 10:49

question was seen: 651 times

last updated: 31 Mar '15, 11:45