I have 2 links to 2 different Apps in App Store: https: //codepen.io/Cr0up13r/pen/KXMGLL
On clicking on first link, new tab opens and I'm getting asked Open this page in "App Store"?. On clicking on second link, nothing happens. On tapping on this link for about 1-2 seconds, I'm getting a notification Open in "App Store", Copy, Share... or Cancel. Why this different behaviour? What have I to do to open second link on click (like first link)? Thanks.
I'm using Safari / iPhone 6 / iOS 11.
Related
How do I create an iPhone app that just starts a website in the default browser?
I'm not looking for a browser inside an app, just goto the pre-programmed website and close the app.
What do I need to get this accomplished?
What you're talking about is homescreen shortcuts you can create out of Safari. Unfortunately to have a native app that just starts the webbrowser is not possible.
Here is how you create a homescreen shortcut:
1. Tap the share button in Safari
2. Tap "Add to Homescreen"
3. Confirm or change shortcut title
4. Done. See the shortcut on your homescreen
When I set
config.supportedHandleTypes = NSSet setWithObjects:[NSNumber numberWithInteger:CXHandleTypePhoneNumber], nil];
I can open my app from iOS contacts by long pressing the call button and choose my app from the menu.
When there is a new social profile named my app name, nothing happens when I tapped it.
I have tried WhatsApp And DingDing and some other apps, they can be opened by tapping the social profile.
Please see the screenshot:
I've upload my app(develop by Swift3) into Apple App Store, but there's an user give me a feedback message that when she downloaded my app from Apple App Store and opened it. After pushing the first viewcontroller(I've init a viewcontroller plastereding with an UIImageView. ps:like LaunchScreen) into the navigationController, All widgets which are in the second viewcontroller(My logincontroller,there some UITextFileds and UIButton) didn't show in the screen but she can also click them(they were all right but couldn't appear).
PS:This user can not find my app in her iPhone's settings too.
When I open the app via Branch deeplink there emerges app link button on the upper right corner on status bar that allows you to block app links. So that all the deeplinks start to redirect me to Appstore.
screenshot
Can I remove this button somehow?
Because common users could accidentally press this button thereby blocking their deeplinking ability and the next time they'll be redirected to Appstore. And I think it's very unclear for them to resolve this issue.
The button you seeing is the feature of iOS Universal Links. You can't disable this button.
I am very new in iOS application development so don't have any special idea about the resources available in iOS development.
I want that if I am on a particular view and then I suddenly terminate the app by clicking on "Home" button, then while I open the app again, it should open the last page on which I was while terminating the app. Since the app is not terminated, it was in background.
I can show the snapshot of my storyboard if it can describe my question in a better way-
In the screenshot, when I open the app after closing it, if I am not logged in then when I will open the app, Login screen (1) will open. And if I am logged in then (4) will open. That is correct. But suppose if I was on (5) before closing the app, then also it opens (4), that should not happen. How to control that?
If someone have any idea about that, please share.
Thanks in advance.
You can see reference here
https://developer.apple.com/videos/wwdc/2012/?id=208
and here
http://useyourloaf.com/blog/2013/05/21/state-preservation-and-restoration.html
And here
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ios%20restore%20state%20stackoverflow