Sorry, I have never made an alarm clock. The alarm clock I understand is a local notification~ I think if you know the time period first and then the alarm time, you can set the local notification time to avoid that time period. If you set the alarm first and then set the time period, you can cancel the local notification first and then reset it. I haven't done it yet, but I think this should meet the requirements.
Sorry, I have never made an alarm clock. The alarm clock I understand is a local notification~ I think if you know the time period first and then the alarm time, you can set the local notification time to avoid that time period. If you set the alarm first and then set the time period, you can cancel the local notification first and then reset it. I haven't done it yet, but I think this should meet the requirements.