Re: iPhone: Autorotation for a subview

2009-12-22 Thread Eric E. Dolecki
Ok - I am doing this in my view controller which works better: - (IBAction) displayInfo:(id)sender { myInfoView = [[InfoViewController alloc] initWithNibName:@"InfoViewController" bundle:[NSBundle mainBundle]]; myInfoView.view.autoresizingMask = (UIViewAutoresizingFlexibleLeftMargin | UIViewAuto

Re: iPhone: Autorotation for a subview

2009-12-22 Thread Eric E. Dolecki
Well - the subView is really a "settings" view - so it can be called up at any time. And of course the user can rotate the device around while it's already being viewed. So I suppose I can call a method in my subview from the willAnimateRotationToInterfaceOrientation:duration in the UIViewControlle

Re: iPhone: Autorotation for a subview

2009-12-22 Thread Hank Heijink (Mailinglists)
On Dec 22, 2009, at 12:51 PM, Eric E. Dolecki wrote: > I have a view which controls it's UI when rotated. However, if there is a > subView in place, it rotates and I'd like to control it's UI too. In my > subView the willAnimateRotationToInterfaceOrientation doesn't get fired. I > set up the shoul

Re: iPhone: Autorotation for a subview

2009-12-22 Thread Development
What I have always had to do is rotate the new subview manually when it is added to the main view. I don't know if it's the right answer but it is what I've done. On Dec 22, 2009, at 10:51 AM, Eric E. Dolecki wrote: > I have a view which controls it's UI when rotated. However, if there is a > s