heres my 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];
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?



Sign In
Create Account









