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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -