ios - loading a xib inside a uiview but not responding -
i have created multi-tab page on click changes view.
one tab includes order form have separate order form in storyboard tried load form inside order tab view did coding.
orderviewcontroller *we = [self.storyboard instantiateviewcontrollerwithidentifier:@"orderviewcontroller"]; we.view.frame = cgrectmake(-8,10, 320, 500); we.calc.frame = cgrectmake(0,1, 320, 45); [order addsubview:we.view]; [self.view addsubview:order];
but when click button or item on order form goes warning ... dont why help.
[we retain];
because, (correct me if i'm wrong) vc freed (autoreleased) after while.
Comments
Post a Comment