iphone-standalone-web-app

iOS WebApp not showing startup image

╄→гoц情女王★ 提交于 2019-12-22 06:58:25
问题 I added <link rel="apple-touch-icon" href="favicon.png" /> <link rel="apple-touch-startup-image" href="splash-screen.png"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"> between the head tags of my website but it doesn't work for the startup image is this normal? 回答1: Are you trying to view the startup image in your desktop browser? If so then I would visit your website on an IOS mobile device and add the app to your homescreen. When you open it you should see the splash

How do they do this - Mobile Site Added to Homescreen Appears as Standalone App

℡╲_俬逩灬. 提交于 2019-12-20 08:08:14
问题 So I've only seen one website do this and I'm very curious to know how they do it. I'm using an iPhone 4 with iOS5 by the way. Go to http://m.funnyordie.com/ (Will Ferrell's sketch comedy site) on mobile Safari, add it to the homescreen, and then click on the homescreen icon that was just added. The mobile site shows up without any of the Safari buttons or address bar. It even shows up in the open app tray as an open stand-alone app (double-tab the home button to see what I mean when Funny or

webkit-overflow-scrolling forms broken on iOS 7 full-screen web app

瘦欲@ 提交于 2019-12-18 11:29:15
问题 I'm having trouble with a full-screen (saved to home screen) iPhone web app on iOS7. Typically, when an input is selected, it has scrolled into view above the keyboard. However, this doesn't seem to happen on iOS7 for scrolling DIVs in a full-screen web app. Thus, when a DIV uses "-webkit-overflow-scrolling: touch" and an input in the bottom half of the screen is clicked, the keyboard is fired, but the input doesn't scroll up. AND, at that time, the input won't respond to any further onFocus

iOS 'Web App' has different localStorage than Mobile Safari

喜夏-厌秋 提交于 2019-12-18 10:31:42
问题 I have a webapp for iPad with the meta tag: <meta name="apple-mobile-web-app-capable" content="yes"> When I open up the app from the homepage (web-app-capable version) or type in the address in Mobile Safari the contents of localStorage are different. I have confirmed that the addresses are identical by printing location.href. All changes made to localStorage while using Mobile safari are reflected in the web-app-capable version, but changes made in the web-app-capable version are not

Is there an iphone url scheme to start a web app in standalone mode from a link

时光总嘲笑我的痴心妄想 提交于 2019-12-18 05:46:28
问题 What I'm trying to do is this: I've got a web app the user can choose to add to the homescreen and run in standalone mode. Sometimes the server side of the app sends SMS'es to the user to notify the user of significant events. The SMS contains an URI to the app page of the event. If the user has added the application to homescreen I would like to launch the app in standalone mode Is there a way to achieve this? EDIT From what I've found so far iOS does not implement a url scheme for launching

Stop native web app from reloading itself upon opening on iOS

一个人想着一个人 提交于 2019-12-17 23:44:12
问题 I'm trying to build a "native web app" using HTML + JS on iOS. As you may know you can add such an application to the homescreen and it will more or less look just like a normal native app. However if I quit such an app and reopen it again it reloads the whole page again. This also happens when switching to such an application from another over the multitasking bar. Is this expected behaviour or is there a way to stop the device from doing this? As an example you can add the jqTouch-Demos

iOS7 Safari: Saving to Home-screen and persist token

白昼怎懂夜的黑 提交于 2019-12-17 17:34:00
问题 For iOS 6.[something] onwards Cookies, SQLite data and localStorage data for Full Screen Web Apps is stored separately from the Safari data. I have a token that I need persisted to the Home-Screen app when saving to Home-Screen. There is a cookie tester here. And a discussion here. Has anyone found an elegant solution to this problem? Very ugly solutions will also be considered:) 回答1: Since iOS 5 Apple have been making Home Screen bookmarks more and more isolated in terms of sharing data

iOS 6 breaks GeoLocation in webapps (apple-mobile-web-app-capable)

北战南征 提交于 2019-12-17 17:33:40
问题 I have an app that does a simple textbook navigator.geoLocation.watchPosition(...) that works great in iOS 5.x both in Safari and as a web app (using apple-mobile-web-app-capable meta tag). However, in iOS6, GeoLocation does not work in the webapp. It still works in safari as expected, but when I run the webapp, it prompts me for location permission, then silently fails. I see the location icon, but no events are thrown from watchLocation. I get no error events or any location events. Has

Force link to open in mobile safari from a web app with javascript

房东的猫 提交于 2019-12-17 02:37:46
问题 When calling window.open() in a iOS web app, the page opens in the web app instead of mobile safari. How can I force the webpage to open in mobile safari? Note: Using straight <a href> links is not an option. 回答1: This is possible. Tested with iOS5 stand-alone web app: HTML: <div id="foz" data-href="http://www.google.fi">Google</div> JavaScript: document.getElementById("foz").addEventListener("click", function(evt) { var a = document.createElement('a'); a.setAttribute("href", this

Twitter connect from website without popup

旧巷老猫 提交于 2019-12-12 20:04:40
问题 I have a problem with a website I'm currently working on. I have added a Tweet box to my page for the user to tweet about the current article. If the user submits from the Tweet box and is not currently logged in or is not connected with my site, he/she gets a popup from twitter asking for username/password and/or if he/she accepts the connection with my site. If the user accepts the popup is closed and all is good, if the user declines the window is just closed and the tweet remains a dream