- Joined
- Oct 11, 2011
- Messages
- 46
- Reaction score
- 0
- Points
- 6
- Your Mac's Specs
- 13" MacBook Pro 2.4 GHz 8 GB Ram 250 GB HD, iPhone 4/S 64 GB, iPhone 3GS 16 GB, iPad 16 GB Wi-Fi
basically i have this warning, its nothing big, it just bothers me that its there.
heres my code:
i used to have "timer release" at the bottom, but it had errors as this method is connected with another method in the app delegate.
so i had to get rid of it from crashing.
is there anything i can just put in here that useless that'll get rid of it?
heres my code:
Code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
GlobalStrings* theDataObject = [self theGlobalClass];
theDataObject.deviceUDID = [[UIDevice currentDevice] name];
self.locationManager = [[CLLocationManager alloc] init];
locationManager.desiredAccuracy = kCLLocationAccuracyBest;
locationManager.delegate = self;
[locationManager startUpdatingLocation];
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(sendGPS) userInfo:nil repeats:YES];
return YES;
}
i used to have "timer release" at the bottom, but it had errors as this method is connected with another method in the app delegate.
so i had to get rid of it from crashing.
is there anything i can just put in here that useless that'll get rid of it?