質問

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