iPhone - UIImagePickerControllerDelegate inheritance

后端 未结 2 1280
青春惊慌失措
青春惊慌失措 2020-12-01 07:32

I have added a UIImagePickerController to a UIViewController. I have also assigned the UIImagePickerControllerDelegate to that U

2条回答
  •  不思量自难忘°
    2020-12-01 08:20

    Add these code like below,you can see the warning disappear.

    @interface viewController : UIViewController  { }
    @end
    

    The Protocol of UIImagePickerController and UINavigationController must be added in your interface, this can make the warning invisible.

提交回复
热议问题