Post

Replies

Boosts

Views

Activity

Open link from WKWebKit in Safari
Hello, I have inside my app a WKWebView which opens a webpage which contains a link to another external page. I want that external page to pe opened in Safari when accessed but I don't know how to do it. This is how I define the view: struct view : UIViewRepresentable {     let request: URLRequest     func makeUIView(context: Context) -> WKWebView  {         return WKWebView()     }     func updateUIView(_ uiView: WKWebView, context: Context) {         uiView.load(request)     } } This is how I implement it: view(request: URLRequest(url: URL(string: " [my url] ")!)).previewLayout(.fixed(width: .infinity, height: .infinity)) So if the url [my url] changes, than that link should be opened in Safari. Thanks in advanced for the help. Best regards, Alex Sofonea
0
0
357
Sep ’22
In app purchase for donations
Hello, I want to add a "Buy the Developer a Cup of Coffee" button inside a WKWebKit. Do I need to add in app purchase or use Apple Pay for that or I can use any other method. If I need the in app purchase is it possible to implement it into a WKWebKit? Also if it is possible with any other payment method can somebody give me some examples of platforms that can help me with that? Best Regards, Alex Sofonea
0
0
349
Sep ’22
Open link from WKWebKit in Safari
Hello, I have inside my app a WKWebView which opens a webpage which contains a link to another external page. I want that external page to pe opened in Safari when accessed but I don't know how to do it. This is how I define the view: struct view : UIViewRepresentable {     let request: URLRequest     func makeUIView(context: Context) -> WKWebView  {         return WKWebView()     }     func updateUIView(_ uiView: WKWebView, context: Context) {         uiView.load(request)     } } This is how I implement it: view(request: URLRequest(url: URL(string: " [my url] ")!)).previewLayout(.fixed(width: .infinity, height: .infinity)) So if the url [my url] changes, than that link should be opened in Safari. Thanks in advanced for the help. Best regards, Alex Sofonea
Replies
0
Boosts
0
Views
357
Activity
Sep ’22
In app purchase for donations
Hello, I want to add a "Buy the Developer a Cup of Coffee" button inside a WKWebKit. Do I need to add in app purchase or use Apple Pay for that or I can use any other method. If I need the in app purchase is it possible to implement it into a WKWebKit? Also if it is possible with any other payment method can somebody give me some examples of platforms that can help me with that? Best Regards, Alex Sofonea
Replies
0
Boosts
0
Views
349
Activity
Sep ’22
Send notifications with APNs trough PHP
Hello, I'm trying to find a way to send notifications to the devices my app is installed on, but I can't find a way to do this using PHP. Could you help me find an article or something to understand how to implement this into my app (in PHP)? Best regards, Alex Sofonea
Replies
1
Boosts
0
Views
646
Activity
May ’22