In my app, you click a button which reveals another page. Whenever you click a button on the view it crashes and shows this:
IBAction
on the button:
- (IBAction)searchOptions:(id)sender {
FilterViewController *ctrl = [[FilterViewController alloc] init];
[UIView transitionFromView:self.view toView:ctrl.view duration:1 options:UIViewAnimationOptionTransitionCurlUp completion:nil];
[self.navigationController pushViewController:ctrl animated:NO];
}
In the .h file I have a forward class declaration and set the property:
#import "FilterViewController.h"
@class FilterViewController;
@property (strong) FilterViewController *filterViewController;
I am unsure what is going on here!