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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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