I converted my app to ARC and removed all the pre-build release errors. It launches, but will crash (EXC\_BAD\_ACCESS) as soon as I call any method (all of which are attached to UIButtons). I also noticed that it will ask if the user will allow for the app to use the user's location, but the alert will disappear before the user can answer yes or no.

I feel like there's some very basic setting I'm missing causing this.

Here's the first method called, it won't let the user actually say if they'll allow location services. The alert fires then disappears. Does this help anyone's diagnosis?

```
-(void)startLocation
    {
        locationManager = [[CLLocationManager alloc] init];
        locationManager.delegate = self;
        locationManager.desiredAccuracy = kCLLocationAccuracyBest;
        [locationManager startUpdatingLocation];
    }

```

Also, here's my didFinishLaunchingWithOptions method

```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.

    UINavigationController *nav = [[UINavigationController alloc] init];
    StartPageViewController *start = [[StartPageViewController alloc]init];
    NSManagedObjectContext *context = [self managedObjectContext];

    if (!context) 
    {
        // Handle the error.
    }

    start.managedObjectContext = context;
    nav.viewControllers = [NSArray arrayWithObjects:start, nil];

    [_window addSubview:[nav view]];
    [self.window makeKeyAndVisible];
    return YES;

}

```