A popover-controller has been declared in an .h
file. But it is giving me error on implementation.
The .h
-file:
@property (nonatomic, strong) VFImagePickerController *imagePicker;
@property (nonatomic, strong) UIPopoverController *popoverController;
@property (nonatomic, strong) UINavigationController *targetVC;
The .m
-file:
What causes the error and how can I fix it?
Uncomment the synthesize line and remove underscore to look like this: @synthetize popoverController;
And replace every _popoverController var name in your .m file to popoverController