mobile-safari

iOS 7 mobile Safari no longer supports <input type=“datetime”/>

假如想象 提交于 2019-12-18 04:18:08
问题 I have a rather large iPad application built using PhoneGap and I was doing some testing to make sure everything was going to work appropriately in iOS 7. The most significant issue I have found is that <input type="datetime"/> is no longer supported. I have seen several posted suggesting you need to now have two separate fields for date and time. This is a really huge change because I am using this all over the application. I am hoping this is just something broken in the beta release of iOS

My website crashes Safari (both desktop and iOS) consistently

不羁岁月 提交于 2019-12-18 04:18:08
问题 My website http://remotejobs.io crashes Safari consistently. I first noticed the crash last night when I was at a Verizon store and I tried browser testing the site on an iPad. So I tried 2 more iPads at the same store, and the site crashed iOS Safari on all 3 devies, every single time I tried to hit the domain. The exact workflow is: Open Safari Enter http://remotejobs.io That's it. As soon as you hit go the site crashes. This also happens on desktop Safari (tested in 6.0.3 on OSX 10.8.3

HTML5 video/audio player on mobile Safari (iOS 7 & iOS 10) excludes cookies

强颜欢笑 提交于 2019-12-18 02:22:31
问题 I have noticed that the HTML5 video/audio player (AppleCoreMedia) on mobile Safari on iOS 7 excludes all cookies, even first-party cookies. Not even sessions cookies are included in the HTTP-header. This makes it impossible to relay on cookie authorization when playing a video clip in mobile Safari on iOS 7. All cookies are included correctly running iOS 6 but on iOS 7 no cookies are included in the HTTP-header of AppleCoreMedia. Can some one else confirm this issue on iOS 7? Steps to

Mobile Safari multi select bug

时间秒杀一切 提交于 2019-12-18 01:43:47
问题 If found a really annoying bug on the current (iOS 9.2) mobile safari (first appearing since iOS 7!) If you using multi select fields on mobile safari - like this: <select multiple> <option value="test1">Test 1</option> <option value="test2">Test 2</option> <option value="test3">Test 3</option> </select> You will have problems with automatically selection! iOS is automatically selecting the first option after you opened the select (without any user interaction) - but it will not show it to

iPhone File Upload with HTML

守給你的承諾、 提交于 2019-12-17 23:32:33
问题 Is there any way to use <input type="file"> in Safari on iPhone/iPod Touch? Or is there something similar that I can use inside the browser? I want to upload a photo from the device to my database using the browser. 回答1: Can't be done with plain XHTML/javascript as Safari does not support uploads. See this previous question for a potential workaround solution to upload photos. 回答2: This is possible with iOs 6 or greater (http://www.apple.com/ios/whats-new/#safari). The browser renders <input

mobile safari links retains focus after touch

霸气de小男生 提交于 2019-12-17 22:36:12
问题 My navigation is quite simple. I have a hover state which adds a border and a transparent gradient png background to some text, and an additional class which, when added by jQuery, adds color behind that transparent image. If you click to toggle the class in a web browser you'll see the color come in and out, but the background image stays if you never move the mouse away from the button. This is expected behavior. My problem is that when using an iPad, the touch seems to retain the hover

Change event not firing on select elements with Mobile Safari “form assistant”

 ̄綄美尐妖づ 提交于 2019-12-17 19:39:44
问题 I have dynamic select drop-down menus. For example, if you select a specific month, the 2nd select element will populate with number of days in that month. This works as intended, however when the user is on an iPhone and uses the "Next" button built into Mobile Safari's "form assistant", the change event (using jQuery) doesn't appear to fire and the 2nd select does not update. $('.month').change(function() { // update "days" select element }); FYI I'm also using jQuery mobile 回答1: You could

How to do this pull-to-refresh in webapp? [closed]

本小妞迷上赌 提交于 2019-12-17 19:04:46
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . How is the Gmail pull-to-refresh implemented? 回答1: latest version of iScroll has this built in 回答2: Large, hidden jquery slider or draggable of some sort? I made a time picker widget using those techniques recently and it worked ok. 来源: https://stackoverflow.com/questions/6950536/how-to-do-this-pull-to-refresh

Image size limitations in mobile safari?

五迷三道 提交于 2019-12-17 19:00:05
问题 I'm working on an iOS app using PhoneGap. I ran into an annoying problem where some of my images weren't loading. Thinking it was a cache issue I played around swapping images. I finally discovered that the issue had to do with the height of my image. After a whole bunch of trial and error I discovered that an image taller than 7864px will not load in the iPad simulator or the iPad itself. It will load fine in Safari. It's not a file size limitation as these are only 45k in size and I'm

Debugging mobile Safari in iOS 8 and iOS 9

偶尔善良 提交于 2019-12-17 18:39:09
问题 After switching to new versions of iOS, I've not been able to debug my web app from OS X Safari to my iPhone Safari browser. My iPhone shows up but I get no options. On my iPhone, I have allowed the web inspector. English: Developer -> Johans iPhone -> No inspectable applications. If I, however save my web app to my home screen - I can get the developer tools for that app, but it's not what I want at this occasion. Unfortunately I have no other iOS / OS X devices to test with, so any help