iphone-standalone-web-app

Iphone Web App is under Status Bar

元气小坏坏 提交于 2019-12-11 18:56:31
问题 Hi I have a problem with iPhone web app. The problem is that the website is moves under the statusbar when I add the app to to the home screen. So for example my header block is not fully shown. <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="default" /> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" /> Here is the image showing the problem. 回答1: Try to change: <meta name="apple-mobile

Prevent iOS web app w/ redirect from opening link in mobile Safari

萝らか妹 提交于 2019-12-11 14:01:32
问题 I’m currently developing a web app using HTML5, CSS3 and PHP that connects to Readmill’s API with oAuth. I want the website to behave like a web app (“installed” on home screen) on iOS which leads to my problem: To authenticate users, my page has to redirect to Readmill’s authentication page. This works flawlessly if the user has been logged in before using mobile safari and uses cookies—hence is still logged in and just has to tap on “Allow” on the “Grant access” page. If the user isn’t

How does various iOS versions differ in terms of webapp cache size limit & its response?

百般思念 提交于 2019-12-11 13:34:25
问题 Since I don't have all the devices & iOS versions available at hand, it's difficult to understand some of the issues my client is experiencing on older devices (namely iPad 1 and 2, both running iOS 5 [unsure of minor version]). Is there any documentation on how each of the iOSes respond to a webapp reaching it's cache size limit? ( 5MB supposedly? or I could be wrong, might just apply to the Web SQL Database size ) Also is the cache size limit the same across all devices & iOS versions? Note

Programmatically launch a web app on the home screen?

六眼飞鱼酱① 提交于 2019-12-11 11:12:39
问题 I have an enterprise application that has a web app added to the Home Screen of the iPad. I want to be able to launch the web app from my native XCode app. Is this possible? Can a web app have an associated custom protocol registered? Thanks 回答1: Custom URLs open other native apps. If you want to open a web app, you can simply pass the http:// URL, however, doing so will load the standard Safari browser rather than a new instance of webkit that you would get with tapping the web clip in the

Track Add To HomeScreen Web App in Google Analytics

做~自己de王妃 提交于 2019-12-11 05:08:13
问题 I have a mobile web app with the Add to Home Screen functionality working well. I am trying to determine how to use Google Analytics to best track the app usage for those who have installed the app to their home screen. There doesn't seem to be a default way to see if an app is in standalone mode in analytics, is there a best practice for Google Analytics to track apps installed on the home screen? 回答1: You can detect if the app is launched in PWA mode. Refer this answer on how to do it. Once

Completely prevent iOS web app from opening link in mobile Safari, even with links containing parameters

耗尽温柔 提交于 2019-12-11 05:02:19
问题 I have found multiple solutions to prevent an iOS web app from opening normal links in mobile Safari, unfortunately they do not work for links containing parameters, e.g. href="index.php?s=example" These are still opened in mobile Safari. The shortest solution for normal links I have found thus far can be found here at stackoverflow. Maybe someone can modify that script? 回答1: Try 4 years old github gist. I used it and it works. You can use it by bower: bower install --save iosweblinks May be

iOS Standalone App 300ms Click Delay

大憨熊 提交于 2019-12-10 03:56:12
问题 Last year webkit removed the 350ms delay for iOS. When I run my website in Safari's mobile browser, the delay no longer exists, and works as expected. However, when I run my web application in standalone mode, the delay exists, and is blatantly obvious. Here's my metatag that I'm using: <meta name="viewport" content="initial-scale=1.0, user-scalable=no, maximum-scale=1, width=device-width"> I've tried variations of the sort, without luck. It's hard to find anything about standalone

Broken HTTP basic authentication in web apps on iOS 7?

蓝咒 提交于 2019-12-09 04:25:05
问题 I'm using basic authentication for a simple app but it stopped working in web app mode on iOS 7. It works in Safari, it worked on iOS 6 both in Safari and as a standalone web app, but after migrating to iOS 7 it shows only white screen. Did anyone experience the same problem? 回答1: I found that by removing windows auth from iis, and leaving only basic with the realm set to the domain solved this issue for me. Give that a try. 回答2: I think this may be related to the dialog problem described

How can I prevent iOS standalone web apps from locking up the device?

为君一笑 提交于 2019-12-09 04:21:38
问题 My prototyping service creates standalone, isntallable iOS web apps. Sometimes they lock up the device while in use. The home button stops working, the app continues to work. The following is shown repeatedly in the device's console (retrived by attaching to xcode). Apr 25 14:34:57 SpringBoard[67] <Warning>: Unable to determine intended instance of com.apple.webapp. Resulting app will be undefined. 回答1: Since the cause of this is still unknown, I thought I'd contribute by telling you that I'm

Jquery Mobile splash screen problem

ぃ、小莉子 提交于 2019-12-08 11:12:30
问题 I am working on a web app, and I am having an issue with the splash screen when you add the site to your homescreen. I've looked around and removed & re-added the line of code and it is still not working. <meta name="HandheldFriendly" content="True"> <meta name="MobileOptimized" content="320"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="apple-touch-icon" href="im/h-apple-touch-icon.png"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name