iphone - removed nib issues and calling init -
i have deleted nib file uiviewcontroller , want make calls init instead of initwithnibname. however, after deleted uiviewcontroller, still calling initwithnibname. need change calls init?
i initialized rest of uiviewcontroller via code, in uitabbarcontroller have following:
- (void)viewdidload { [self settaburls:[nsarray arraywithobjects:@"tt://mygroup", @"tt://all", @"tt://search", nil]]; }
three20 framework calls initwithnib, if ttviewcontroller
created without nib file.
just move initialization code - (void)loadview
function need to.
Comments
Post a Comment