문제

I set an alarm through my app in objective c for a particular time. Is it possible to disable that alarm programmatically from the app ?

도움이 되었습니까?

해결책

if you are setting alarm through local notification, then you can cancel it by below code

    [[UIApplication sharedApplication] cancelAllLocalNotifications];
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top