Re: UIViewController and splash screen orientation issue on iPad
Re: UIViewController and splash screen orientation issue on iPad
- Subject: Re: UIViewController and splash screen orientation issue on iPad
- From: Eric Giguere <email@hidden>
- Date: Wed, 25 Aug 2010 14:01:55 -0400
Ouch, what a shame.
Thanks a lot David. As expected, worked perfectly :)
Eric.
On 2010-08-25, at 12:35, David Duncan wrote:
> On Aug 25, 2010, at 4:57 AM, Eric Giguere wrote:
>
>> The problem is that when I start the application with the Pad upside down, the splash view does not get auto-rotated even though my main view behind it is always showing with the right orientation.
>
>
> Thats because the view controller managing your view only supports Portrait orientation (because you didn't subclass UIViewController to do otherwise). You need to create a UIViewController subclass to do this that supports all orientations. Assuming your view doesn't require complex layout or image changes (i.e. supporting the portrait and landscape default pngs) it should just work from there.
> --
> David Duncan
>
Eric Giguere
email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden