site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262308914; bh=9I4+43NlC10ulzMWtLAgCyOD4KqE7V3yt2KVpMgshzU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=NJpaGzDetqt/5PdI729e4+zce2Clg+HAzLCrMUO72T6W+298aFCvVgGFxbH86GqvIUhjcYDheX9saQY0tSvB6rvvoCriOqiul6O2Bu5lIw2l/VfQ+sKKOaclPuRzBgeznP6UyrSZQIhPhzaPi3O5pC+nP/JoEC7JwIRoSTYSRdg= Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=4WNA8GKh8WBFIKox/omexwU9bbsEkyhXYPgPG6O4YklsZcS7UaOpGAE+gTFTB6BgZL+s6hmlR4g3n5atP+Kw9t6laFN4YfoNPhnPNT8sQGkkmVXOWxmZAJS0fT/fCx2iNzVPr0LIP3zggStPidygIMyHFezD2mgTGTqRpTf+xyY=; I am developing an application which has several views. All of which need to be viewed in landscape mode. I set the UIInterfaceOrientation property to UIInterfaceOrientationLandscapeLeft in the pList. Also overridden the following method: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations. return ( interfaceOrientation == UIInterfaceOrientationLandscapeLeft ); } I create a view programmatically, then add it to the UIViewController. It works as expected in landscape mode, but when I remove it, then add another view, it appears to be landscape, yet it draws as if in portrait mode. It doesn't matter which view I start with, only the first one draws in landscape. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Ian was here