Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
How Do I Enable UpsideDownPortrait?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Loon3y" data-source="post: 1315795" data-attributes="member: 217795"><p>heres the code, how do i enable all modes portrait and landscape. i messed with it before but i can't seem to get it back to default</p><p></p><p></p><p></p><p></p><p></p><p>- (BOOL)shouldAutorotateToInterfaceOrientation<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" />UIInterfaceOrientation)interfaceOrientation</p><p>{</p><p> // Return YES for supported orientations</p><p> return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);</p><p>}</p></blockquote><p></p>
[QUOTE="Loon3y, post: 1315795, member: 217795"] heres the code, how do i enable all modes portrait and landscape. i messed with it before but i can't seem to get it back to default - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); } [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
How Do I Enable UpsideDownPortrait?
Top