mobile-safari

unable to set web inspector breakpoints after upgrade to Safari 7.0.4, both local and remote

蹲街弑〆低调 提交于 2019-12-22 08:55:58
问题 After an upgrade to OSX 10.9.3 (13D65) and Safari 7.0.4 (9537.76.4), I am unable to set breakpoints in my cordova app using the Safari web inspector. Enabled breakpoints appear as dark grey, disabled as a lighter grey. "debugger" statements are ignored. The behavior is the same on either the simulator (iOS 7.1 11D167) or a physical device (iOS 7.1.1 11D201). The mobile app does show up under the Develop menu (iPad Simulator or xxx iPad). I can inspect the DOM. I tried the solutions suggested

Debugging console for stand-alone web app on iOS [duplicate]

廉价感情. 提交于 2019-12-22 08:43:30
问题 This question already has answers here : How to debug web sites on mobile devices? (15 answers) Closed 4 years ago . When testing my web app on the iPad, I can enable the debugging console of Safari Mobile and happily read my logging output. I can not find a way to do the same for a stand-alone app, meaning the web app was "added to the home screen" and the window.navigator.standalone flag says true, but there is no "Debug Console" banner at the top like there is inside Safari Mobile. I have

HTML 5 AudioElement won't play mp3 Livestreams in safari on IOS 11 devices

﹥>﹥吖頭↗ 提交于 2019-12-22 08:19:10
问题 I'm a web developer at a radio broadcaster. Since the release of IOS 11, we received several user complaints that our audio live streams can't be played on IOS 11 devices anymore. To embed the streams in our websites we use the HTML5 AudioElement. When debugging the javascript on an iPhone whit IOS 11 we recognized that calling the audio elements play() method resulted in a MediaError of ErrorCode 4 (MEDIA_ERR_SRC_NOT_SUPPORTED). All other devices (Android, Windows and IOS 10 and below) play

iPhone Mobile Safari, How many max parallel http connections?

守給你的承諾、 提交于 2019-12-22 05:03:05
问题 I would like to use parallel AJAX HTTP requests with iPhone Mobile Safari (OS4). What is the max number of parallel connections? 回答1: If I'm not mistaken, Safari uses at most 4 connections to the same server, but you can test it yourself using this little test case (if you have access to an iPhone, of course). 回答2: Test site provided by Marcel returned 6 connections on my iPhone 3GS. 来源: https://stackoverflow.com/questions/2940559/iphone-mobile-safari-how-many-max-parallel-http-connections

Uploading video file on website throw UIWebView in iOS

一笑奈何 提交于 2019-12-21 23:57:27
问题 When I want to upload a video to my website, throw UIWebview using <input file="type"/> the files are picked from the Photo Library and the videos are compressed before being sent to the server. This works great in UIWebview ! But now is there a way to get rid of that compression? a have a good quality video sent to the server. I try with multiple libraries like dropzonejs, file-uploader but no one seems to work in UIWebview when the videos are uploaded from the Photo Library (the compression

Footer will not extend to 100% width on iphone, why?

旧城冷巷雨未停 提交于 2019-12-21 23:46:24
问题 Im nearly finished with this website but for one problem. On iphones (and possibly other mobile devices) the footer is cut off short at the bottom to the right, leaving a white space, even though i've set the footer to min-width:100%. I'm unsure what is causing this and would appreciate any help on this. You can visit the website here I've broke down the HTML below to the essentials. <body> <div class="content"> <header> <img /> </header> <img /> <h3>Title</h3><br> <p> Paragraph </p> <div

How does Twitter for iPhone bookmarklet work?

会有一股神秘感。 提交于 2019-12-21 21:34:46
问题 Twitter client (formerly Tweetie) allows you to define a bookmarklet in Safari that launches the app. I want to know which iPhone API allows you to register the protocol specifier (or whatever it's called) - in this case "tweetie:" - in order for this bookmarklet to work. The instructions can be found here and the bookmarklet itself is below. javascript:window.location='tweetie:'+window.location Clicking the above bookmark is the same as typing in "tweetie:http://google.com" into the address

Phonegap Database problem - storing images in the database

不想你离开。 提交于 2019-12-21 21:29:18
问题 I am trying to make a very basic inventory application with the option to include a photo of items in the inventory. I have everything working except the photo part... I have looked at this http://phonegap.pbworks.com/iPhone%3A-Camera-API and I can get the camera to work, but do not seem to be able to add the image to the database - Here is a bit of the code The database definitions/creation - simage is where the photo should go db.transaction( function(transaction) { transaction.executeSql(

ASP.NET / iPad Safari Cache Issue?

戏子无情 提交于 2019-12-21 21:07:58
问题 We have an ASP.NET web application which uses ASP.NET Ajax. We open it from within Safari on the iPad. It works fine. We save it to the home screen as a separate icon. We added the meta tag that makes it load in full screen, without Safari's navigation bar. It works fine. Later, we re-open it and notice it is broken. Here is a portion of the HTML that is rendered that shows what doesn't work. <a id="ctl00_Header1_btnHome" class="Button" href="javascript:__doPostBack('ctl00$Header1$btnHome',''

Mobile Safari: inertia scrolling on body AND minimal UI behavior?

こ雲淡風輕ζ 提交于 2019-12-21 17:04:06
问题 This question requires some explaining, so please bear with me. Contrary to popular belief, inertia scrolling (the very smooth 60fps scrolling) is not enabled on web pages in Mobile Safari by default. As it makes a world of difference in user experience, I have enabled it by dynamically applying this CSS to the HTML and BODY element of the page, after a Modernizr test for iOS specifically: <style> .touchscroll { overflow: auto; -webkit-overflow-scrolling: touch; position:relative; height:100%