It looks like you're new here. If you want to get involved, click one of these buttons!
I have start a timer to call a method after 10 seconds. the timer start from didFinishLaunchingWithOptions. it works fine but I want to stop that timer from another UISubclass at the time of logout. How I can do this my code is
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
timer = [NSTimer timerWithTimeInterval:10
[[NSRunLoop mainRunLoop] addTimer:timer forMode:NSRunLoopCommonModes];
Getlocation *object=[[Getlocation alloc] init];