iphone - positioning frame does not work after move to iOS 4.2 -


i'm having trouble moving view:

- (void)viewdidload {      cgrect newframe = self.popup.view.frame;     newframe.origin.y = self.view.bounds.size.height;     self.popup.view.frame = newframe;      [[self view] addsubview:[self.popup view]];      [super viewdidload]; } 

this should put subview popup below current screen not seem moving it. i'm positive working pre-4.2. ideas might going on? sorry vagueness. if have questions feel free ask.

did try moving [super viewdidload] top of method? call superclass's method can affect state of inherited vars.

good post on this: `[super viewdidload]` convention


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -