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
Post a Comment