objective c - iphone - Problem adding subview to app window -


so have done several apps have done in appdidfinishlaunching: method

[self.window addsubview:someview.view]; [self.window makekeyandvisible]; 

this has worked in past, reason in recent endeavor, when add subview, there space @ bottom, until rotate device. space looks size of info bar @ top. guess frame not updating based on device orientation , location of info bar. not manipulating view in other way other adding subview. have idea might going on?? thanks..!

check out screenshot of in action...

perhaps give go: my view displaying y=-20 dispite frame set y=0. after rotation snaps y=0


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -