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
Post a Comment