Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-05-2010, 09:23 AM   #2 (permalink)
Momeks
Persian Developer
 
Join Date: Mar 2009
Posts: 274
Momeks is on a distinguished road
Default

Quote:
Originally Posted by infinity320 View Post
Hi guys!

Is there any way to set the orientation of the UIActionSheet programatically? My iPhone orientation is Portrait, but the UIActionSheet need to be Landscape. Can this be done?

So, my problem is that I don't want to rotate the rootviewcontroller to landscape mode, only the UIActionSheet. So is this possible somehow?
when you change you iphone to Landscape mode your alert view or action sheet , show in landscape mode u can try it with change the return code to return YES;


Quote:
- (BOOL)shouldAutorotateToInterfaceOrientationUIIn terfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return YES;
}
__________________
My Applications On the App Store


Momeks is offline   Reply With Quote
 

» Advertisements
» Online Users: 501
17 members and 484 guests
andyzaharia, baja_yu, BuzzingDanZei, David-T, dre, givensur, HemiMG, iNet, jpremo12345, malaki1974, mariano_donati, nanijoe, Paul Slocum, PixelEnvision, PowerGoofy, speed4mee, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,427
Threads: 94,023
Posts: 402,572
Top Poster: BrianSlick (7,978)
Welcome to our newest member, shakiraeb60
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:28 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.