Currently I'm facing a weird problem where I don't have any clue (because of this sorry for the very vague question). I've developed an Angular Web Application, that offers a file download. Now the weird part:
When testing on iOS (13.3, iPad, iPhone), basically everything is working. Then I did some variation of my test: I used the "Add to home screen" feature, where the web-app basically pretends to be a PWA, and iOS/Safari is opened without any browser UI.
In this mode, Safari handles file downloads a bit differently: When downloading a file, it shows a full-screen Overlay with the file name and some options, and some "Back/Done" button in the top bar (see screenshot below, where I download a test file "image.jpg").
The problem is that on some iOS devices on some test servers, exactly this button is missing in Safari, everything else is working.
Any idea what could trigger this behavior in iOS/Safari?
iOS PWAs have been really buggy with small issues like this because of certain new iOS features such as the Safari Download Manager in browser so Apple either hasn't realized or decided how they want to handle these bugs in PWAs.
I'd suggest to try out some different options to download your test files: https://forums.developer.apple.com/thread/95911
I have a share-to-twitter link on a page to share a specific url. Everything works fine by sharing: title, image, description. Everything is shared correctly as I want to.
On Android devices the app starts and the twitter card is also shared.
On IOS (IPad, IPhone 7,8 - latest ios-Version) the app shows nothing to share. It only starts the app as if I only open it by clicking the app-icon on screen.
This is how my link looks like:
<img src="../images/share_twitter.png" class="imgShare"/>
Any hints for me?
thx ©a-x-i
my application is a UIWebView in fullscreen and i load a website. My website is based on the geolocation of the user. Before, my app is working fine for any device but since iOS 8 it doesn't work on iphone 6 and 6 plus. I was forced to add permissions in plist file.
The added keys is: -NSLocationWhenInUseUsageDescription -NSLocationAlwaysUsageDescription -NSLocationUsageDescription
After, my app work with iphone 6 but NOT with the iPhone 6 Plus... WHY ?
I have also check in scheme for be sure Allow Location Simulation is checked...
I have search a lot and i have try a lot of solutions and nothing works...
My geolocation is on my website with JS so i dont have locationManager...
I have only a UIWebview, ViewController and AppDelegate in my project.
If i try my website with safari in iphone 6 plus it working but not in application...
I have check in setting and my app is always authorize to get the location
Some have a idea why it doesn't work on 6 PLUS ?
Thx for help
Since apple's ios update to ios 6 data/local storage for Web Apps and Home Screen Apps is handled differently than before. Before ios 6 they shared the same data. Now home screen apps have their own data like native apps (see here: iO6 and Data Storage).
Since I have some trouble with the cache manifest in my home screen app (works fine in mobile safari, doesn't work right in home screen app – see here: strange behaviour with cache.manifest / offline usage of web app saved to home-screen on ipad ios6), I asked myself if it might no longer be necessary to store data for offline usage for home screen apps via the cache manifest. I searched the web without any luck.
So my question is following: is the cache manifest obsolete for home screen apps on ios 6? And if so, can I just leave it in there or do I have to remove it? Or: do I need to initiate offline storage somehow different now?
As I uderstand it the cache manifest was/is used to tell what data for a website should be cached so later visits would have decreased loading time AND the website could be used offline (either in mobile safari or as a home screen app). But if now the home screen app and the original website do not share the same data anymore – how is caching for home screen apps handled now?
I would be very happy for any advice/help on this. Or at least some links for some how-tos.
Thx!
You still need the manifest file just like before. In fact you should not change anything, your web app should work just like before.
The only difference is that now home screen web apps have their offline cached (and local storage) stored separately from web apps in the safari.
Before there was only one place. So, before, if you had your app open in safari and also as home screen web app, they will both share the same offline cache and localstorage.
Now, each has its own cache separate from the other.
Is there a way, in iOS 6, to link from an app to a specific developer's page on the App Store app? By that I mean a list showing all the apps by the developer.
There are various ways to link to the store (I am using the Appmosys as the example here) that produce various results:
http://itunes.apple.com/us/artist/appmosys/id331687329 - The link copied from desktop iTunes, opens up the iTunes app on an iOS 6 device, with the developer's page. If you tap on one of their apps, it goes to that app on the App Store app.
http://itunes.com/apps/appmosys - Opens the iTunes app (via Safari) but presents this error message: "Cannot connect to iTunes store".
itms://itunes.com/apps/appmosys - Goes straight to the iTunes app, but same error as above.
itms-apps://itunes.com/apps/appmosys - Opens the App Store app, but also presents the same error (screenshot here: https://dl.dropbox.com/u/6920023/iphone-screenshot.PNG ).
Is there actually a way to do this in iOS 6?
Bonus points if you can answer the question and know if the link you provide also works with the affiliate program, http://www.apple.com/itunes/affiliates/. I've already looked at the Link Maker on this page, http://www.apple.com/itunes/link/, but can only produce the standard iTunes link.
Part B / even more bonus points
You can link straight to the Reviews tab in the App Store app for an app, but can you also now link straight to the new Related tab?
i have a solution for iOS 5:
itms-apps://itunes.com/apps/appmosys/id331687329
and one for iOS 6:
itms-apps://itunes.apple.com/artist/appmosys/id331687329
if you use itms-apps:// URLs instead of http:// it will open the app store app on the device, which is less confusing to the user, then going through safari.
Unfortunately i didn't found any single URL that works on iOS 5 and iOS 6. So the Apple Q&A Documentation is not valid anymore for iOS 6 :-(
UPDATE: i just realized that my iOS 5 solution works also on iOS 6 on the iPad, but not on the iPhone with iOS 6. it's getting weirder and weirder....
UPDATE 2:
apple just annonced the appstore.com urls so now you can link to Electronic Arts Developer Page with http://appstore.com/ElectronicArts
i just tested it and it works for iPad from iOS 5.1 to 6.0 and iPhone from 4.3 to 6.0
so now the Apple Q&A Documentation is valid!
I have a universal app and I needed to open up my developer page, and display the correct apps depending whether the user is using an iPhone, iPod or iPad. The only way I could get this to work correctly was by using the iTunes link maker http://itunes.apple.com/linkmaker/ results but replaced https: with itms-apps:
The link like http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=426623392
will be work on any iOS devices and any browsers in Internet also.
The customer will be NOT confused because it is standard link of Apple and developers using it.
Change just your id. So, it will be http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=XXXXXXXX where XXXXXXXX is your developer id.
This link you can find also in iTunes App on your desktop by copy the link from button "More Apps by YYYYYYY" on page of any of yours App. There YYYYYYY is your developer name. Like on this page https://itunes.apple.com/be/app/visual-html-editor-eye-lite/id472624198?mt=8
If you prefer to have a CUSTOMIZED "MORE APPS BY US" page inside your app (not exit to AppStore or Safari), then have a look at what I created here (there is downloadable working project):
http://xcodenoobies.blogspot.com/2014/06/how-to-create-dynamic-more-apps-page.html
The beauty of this is the data is retrieved from iTunes AppStore everytime you open the page in your app, and that you can customize it however you like.
Cheers.
http://itunes.apple.com/artist/id331687329.
I get to this link by using iTunes on Mac. Search for the company name, click on any app that is made by the company, look for "More iPhone Apps by XXXXX", click on it, then you'll see all apps by this company, right click on the company name and copy link, and you'll get this link. This link will work with iOS 6.
I have no problems mit links created with http://itunes.apple.com/linkmaker/
It generates only https links.