If we are using the UIImagePickerController
as a property, then this warning will disappear. xcode assume that we are not using the result from the UIImagePickerController
, if we are instantiating the UIImagePickerController
within a function.