SFSafariViewController could to use App Tracking Transparency - ios

My App has been rejected from apple because I use WKWebview to show content and not use App Tracking Transparency
If I changed to SFSafariViewController or External to Web Browser it could to use App Tracking Transparency request to user

Related

How to use webview or similar control in Watch OS?

Example app: https://itunes.apple.com/us/app/watchup-for-whatsapp/id1320596975
I think this app might load whatsapp webview and parse responses from web and showing in whatsapp app, so any way to make webview or similar control that work in watch app?
EDIT: Can we load webview in iOS app in background and send parsed response to Appel Watch app? is it possible? I don't want to show webview in iPhone app, I just want parsed response and to show it in watch app in tableview app.

iOS app deep linking: Return to previous app or access current url scheme of current app

I'm developing a custom keyboard for iOS. When I'm e.g. in Safari using my custom keyboard, I have a button in my keyboard to jump to to keyboard containing app. Then in my keyboard app I have the iOS specific "<- Safari" button in the top left corner to jump back to Safari.
Is it possible to programmatically jump back to the source application (in my example Safari)?
Or can I send the original url scheme to my containing app and then open the previous app (could be ANY) by the url scheme?
It must be somehow possible, because the app Scandit Wedge does exactly what I want. I created an empty test app without any url scheme and with the Scandit Wedge keyboard I can go to Scandit app, read barcode and it goes automatically back to the source app.
Here's a video I recorded:
https://www.youtube.com/watch?v=UiHH4NanlkA
To achieve this you have to implement inter-app two way communication using x-callback-url. x-callback is just a "protocol" to format the NSURL to ease the data processing at the receiver end and also allowed the source app to receive the correct callback function. You can explore more this with evernote and this tutorial.

Possibility to stop opening Google Map app while clicking the logo

I am using Google Map in an iOS app built for a client. I know that the logo at the bottom cannot and shouldn't be removed at any time. I am wondering whether I can disable the click action and stop the app jumping or not, since the client don't want the app to open an external app.

Performing a task through a website and going back to an iOS app

I'm developing an iOS 7+ app that I need to offer the option of navigating to a certain web page to let the users to fill in a form there, and after that to come back to the app's view where the user was.
Is it possible to programmatically open Safari with a given url? If it is, I suppose that then there is no way to automatically redirect the user to your app from there... right? Is then a UIWebView the only option? Is it possible to navigate back or dismiss the view with the UIWebView without the need of user interaction?
Thanks
You can open links in Safari as detailed in this post How to launch safari and open URL from iOS app
I don't believe you can set a 'callback' and have it return to your app on completion, as you have no control over the user once they have exited your app's sandbox.
Opening the link in UIWebView would provide control, as you can utilize the UIWebView callbacks.

How to use the UIWebview with enabled cookies?

How to use the UIWebview with enabled cookies? I am using lot of web apps in my iOS app, each app has their own URL to load their app.
All web apps are displayed with their name and app icon in a UITableView (app list). Whenever user tap on app from the app list, we are loading that app in UIWebview.
If user again tap on the same app we are loading from cookies not loading from the start.
In this scenario how to use UIWebview?
Normally UIWebview took lot of memory, if we opened lot of apps memory increased huge.
Please suggest how to use UIWebview with effective manner.

Resources