Assigning to ‘id’ from incompatible

解决方法:

去.h中添加:

?
1
2
3
4
@interface xxx : xxx <xxx, UIImagePickerControllerDelegate, UINavigationControllerDelegate>
{
...
}

以符合UIImagePickerControllerDelegate和UINavigationControllerDelegate,即可解决问题。

你可能感兴趣的:(Assigning to ‘id’ from incompatible)