the notifications appear when the app get new post from url
It depends on what precisely means the app get new post from url.
If you mean your app retrieves some post from the url with your code while your app is running, you can use local notifications.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: