tags:

views:

133

answers:

1

Hello,

I am opening Camera from the application with UIImagePickerControllerSourceTypeCamera after picking the photo and selecting it after that viewDidLoad method invoke instead of viewWillAppear mehod so what the problem?

Iam also using PhotoLibrary from UIImagePickerControllerSourceTypePhotoLibrary in that case after selecting photo viewWillAppear invoke.

Thanks in advance.

A: 

i guess, he has a same problem with me.

problem is..

  1. opening Camera with sourcetypeCamera from A viewController
  2. take new picture
  3. use or canel button press
  4. dissmiss camera and invoke "viewDidLoad" A viewController
  5. and reset A viewController <-- this is a problem..!!

if sourcetype is PhotoLabrary, invoke "viewWillAppear" A viewController when dissmiss camera, i want to invoke "viewWillAppear" A viewController

how do i

suwithel