On the bottom line, I was working on the application, and it seems that if I put the UIAlert in viewDidLoad , it will be called twice (from the delegate method of UIImagePickerController ). If I put it in viewDidAppear , it will be called once.
I looked through the documentation, but it just bothers me.
ios iphone viewdidappear viewdidload
Sidwyn koh
source share