First of all, I want to thank you for that useful tutorial. But I have a one specific question about local notifications. How can i navigate to the specific view when user tapped the notification. In my case my struct includes four tabbar buttons and for example when notification came I want to start the from the second tabbar buttons view.
Nice tutorial, I was wondering if you could describe how this works in the XCode 15 setup without storyboard. I do not have a ViewController in my app and I was wondering how to get this working in my program architecture.
I had the same problem. I basically just executed the checkForPermission function inside the onAppear modifier of the ContentView: var body: some Scene { WindowGroup { ContentView() .onAppear() { self.checkForPermission() } } }
I am a conversation app which when we receive the message from the opposite person it does not sound and notified in the notification center...... how to do that
Million thanks, very simple and clear 👍👍👍
Amazing tutorial, man 💪
Thanks! Glad you liked it 👊🏻✨
Great tutorial, thanks!
Can you make a video on how to do it on the Apple CloudKit (APNs)
Strait to the point, nice!
First of all, I want to thank you for that useful tutorial. But I have a one specific question about local notifications. How can i navigate to the specific view when user tapped the notification. In my case my struct includes four tabbar buttons and for example when notification came I want to start the from the second tabbar buttons view.
i think with UNMutableNotificationContent.defaultActionURL
"Swift by Martin" is back ❤
Cool video👍thanks
Glad you like it!
Nice tutorial, I was wondering if you could describe how this works in the XCode 15 setup without storyboard. I do not have a ViewController in my app and I was wondering how to get this working in my program architecture.
I had the same problem.
I basically just executed the checkForPermission function inside the onAppear modifier of the ContentView:
var body: some Scene {
WindowGroup {
ContentView()
.onAppear() {
self.checkForPermission()
}
}
}
Will it work even when user will close the app?
I am a conversation app which when we receive the message from the opposite person it does not sound and notified in the notification center...... how to do that
Thanks for good video appreciate
Nice one
Let me know if you are missing something regarding local push notifications or if you have any additional questions! Happy coding ✌🏻🙂!
does this also apply to a watch app?^^
Are you able to please show how to have alternative body text so we can send different text each day?
I can't get notifications in the simulator, I can only get them when I connect my own phone, how can I get them in the simulator?
excellent tutorial, thanks!