⏰ Build a Modern Alarm App in SwiftUI: Scheduling, Haptics & Advanced Features! ⚡️ FULL PROJECT 🔥🔥

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 7

  • @limbikbeyin4826
    @limbikbeyin4826 14 дней назад

    Thank you for the project. I’m curious about how you handle notifying the user when the alarm time arrives. As far as I know, there’s no public API that allows developers to implement a true alarm-like function. While using a notification is an option, it comes with significant limitations, such as reduced reliability and the requirement for the phone to be in ring mode. Could you clarify how you’ve addressed these challenges?

    • @SwiftUICodes
      @SwiftUICodes  13 дней назад +1

      Hi limbikbeyin4826 ✋🏻
      First of all, thank you for watching our video. The notificationManager framework is not used in the project. It is only the interface of the alarm project. As for the limitations, we overcome these limitations of Apple by writing extensions or frameworks. If you wish, you can find customized NotificationManager frameworks and projects on Github.

    • @megabert
      @megabert 2 дня назад

      @@SwiftUICodes
      I am in the middle of working on my abbreviated schedule generator app targeting teachers and can’t figure out how to get the schedule alarms to sound if the phone is in silent mode. Is this possible? I don’t think most teachers would have their silent mode turned off during the school day

    • @SwiftUICodes
      @SwiftUICodes  День назад

      Yes, you can play sounds like alarms, notifications, etc. even in silent mode.
      "try audioSession.setCategory(.playback, mode: .default, options: .duckOthers)"

    • @megabert
      @megabert День назад

      @@SwiftUICodesI think I’ve finally tried that and the sound now plays if the app is in the foreground but not if the app is in the background or the screen is off :(
      Is there something else I need to do for that?

    • @SwiftUICodes
      @SwiftUICodes  День назад

      Our support team provides support through Patreon.
      You can contact us via Patreon.
      www.patreon.com/SwiftUICodes
      Happy Coding 🥳🎉