Results 1 to 2 of 2
Discuss Force Landscape Mode ONLY, arrg at the iPhone Developer Exchange - Hackint0sh.org; I've tried all the articles on the net, even apple's about landscape mode. All the ...
  1. #1
    Rookie Array

    Join Date
    Jul 2007
    Posts
    23
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Force Landscape Mode ONLY, arrg

    I've tried all the articles on the net, even apple's about landscape mode. All the threads say to try this and that, or that it will give a warning error but it doesn't work properly. I know plenty of SDK apps that stay in landscape.

    I want to ignore the accelerometer and, launch in landscape, and continue to stay in it.

    Any suggestions on how to do this with the official SDK?

    Could really use help on this one thanks.



  2. #2
    Rookie Array

    Join Date
    Jul 2008
    Posts
    25
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    can you have your viewcontroller implement this method and handle the event however you want?

    Code:
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    	return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
    }
    Last edited by kolywater; 07-24-2008 at 05:22 PM.

 

 

Similar Threads

  1. [Req] Landscape mode for SMS
    By ipicazo08 in forum Free Toolchain Software (Cydia App's)
    Replies: 5
    Last Post: 05-06-2008, 06:08 PM
  2. Are we going to see landscape mode in SMS soon?
    By nemesis1218 in forum Free Toolchain Software (Cydia App's)
    Replies: 4
    Last Post: 02-28-2008, 05:29 AM
  3. Can we use Springboard in Landscape mode ?
    By parad0x in forum General
    Replies: 12
    Last Post: 12-23-2007, 12:04 AM
  4. Keyboard in Landscape Mode for SMS
    By madpatelq in forum General
    Replies: 0
    Last Post: 11-08-2007, 06:09 AM
  5. Keyboard in Landscape Mode for SMS
    By Wilmut in forum Tools
    Replies: 0
    Last Post: 10-09-2007, 06:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:21 PM.
twitter, follow us!