Hi I have a tabbed view application with 4 different tabs! I want my third tab (the view controller is thirdViewController) to monitor and range the estimote beacons around. The code in the app delegate that gives the above error is commented one in the method given below:
-(void)locationManager:(CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region {
NSString *message = @"";
ThirdViewController *viewController = (ThirdViewController*)self.window.rootViewController;
viewController.beacons = beacons; //this line of code gives the above error
[viewController.tableView reloadData];
}