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.
Asked
Active
Viewed 1.1k times
4
-
1i want equivalent to viewWillAppear() not viewDidLoad(). – Raeesaa May 14 '13 at 08:07
-
That question appears to be exactly like yours and has an accepted answer. – trojanfoe May 14 '13 at 08: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 May 14 '13 at 08:11
1 Answers
4
may be activity lifecycle can help here goes the link activity lifecycle

Iftikar Urrhman Khan
- 1,131
- 1
- 10
- 21
-
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() :( – Raeesaa May 14 '13 at 09:51
-
5onStart is equivalent to viewWillAppear check this [link](http://developer.android.com/reference/android/app/Activity.html#onStart()) – Iftikar Urrhman Khan May 14 '13 at 09:53
-