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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -