I am new to objective C. I would like to know what are similar methods to viewWillAppear() and viewDidAppear() in android. I guess viewDidAppear() is same as onResume() in android. Any help will be appreciated.
3
- 1i want equivalent to viewWillAppear() not viewDidLoad().Raeesaa– Raeesaa2013-05-14 08:07:34 +00:00Commented May 14, 2013 at 8:07
- That question appears to be exactly like yours and has an accepted answer.trojanfoe– trojanfoe2013-05-14 08:09:00 +00:00Commented May 14, 2013 at 8:09
- yes it appears to be same. I even specified viewDidAppear() may be same as onResume() in android. But I could not find android equivalent to viewWillAppear() thats why I asked the question.Raeesaa– Raeesaa2013-05-14 08:11:34 +00:00Commented May 14, 2013 at 8:11
Add a comment |
1 Answer
3 Comments
Raeesaa
I know android's activity lifecycle. I am supposed to convert an iOS app into android and I am not understanding what can be possible equivalent for viewWillAppear() :(
Iftikar Urrhman Khan
onStart is equivalent to viewWillAppear check this link
Raeesaa
yes it is onStart(). Thanks :)