iphone - How do I call - (void) viewDidAppear:(BOOL)animated from another method? -


it possible call 1 method inside another. i've implemented function

- (void)pickanddecodefromsource:(uiimagepickercontrollersourcetype) sourcetype  

i want call following method inside above one.

- (void) viewdidappear:(bool)animated  

i think understand you're asking... question is.. not there. nonetheless:

what think you're asking: "how call viewdidappear within method...?"

- (void)pickanddecodefromsource:(uiimagepickercontrollersourcetype)sourcetype {  ...     [mycontroller viewdidappear:yes]; //simply call on whatever instance of controller have  ... } 

if question "how override viewdidappear?" it:

- (void)viewdidappear:(bool)animated {      [super viewdidappear:animated];      //your stuff      //goes here }  

Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -