I have an app a version of which is already on the app store, everything was working but now I am running into an issue where one of my viewControllers is completely non-responsive. Any touch to that view crashes the app with no message printed to the console and "Thread 1: Program received signal: "EXC_BAD_ACCESS" showing in main.m at the int retVal = UIApplicationMain(argc, argv, nil, nil); line.
The view is brought up like this:
#import "ViewName.h"
ViewName *modalc = [[ViewName alloc] initWithNibName:@"ViewName" bundle:nil];
modalc.view.frame = CGRectMake(0,1025, 1024, 768);
[self.view addSubview:modalc.view];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationCurve:UIViewAnimationCurveEaseOut];
[UIView setAnimationDuration:0.40];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:context:)];
modalc.view.frame = CGRectMake(0, 0, 1024, 768);
[UIView commitAnimations];
I have several buttons on this "ViewName" that comes up, but when I push anything on the screen at all, the NSLog at the beginning of any of my IBActions doesn't even print to the console, the app just immediately crashes on any touch to this view.
The only change I've made recently is I refactored/converted to Objective-C ARC.
Any ideas would be greatly appreciated! Thanks!