ipad-2

Jquery Animate ScrollLeft doesnt work on ipad

南笙酒味 提交于 2019-12-12 06:36:49
问题 So im developing this site it works perfectly on pc and mac but on ipad im having problems with the navigation. http://remedia-solutions.com/clientes/0039_kiplingmexico/demo2/ This code moves the html,body to another section. It works perfectly on pc and mac. But when im on ipad it just doesnt work. In this case it moves to the index section. $("#ini").click(function() { if($("#todolocal").css("left") == '0px'){ $("#todolocal").animate({left: '3500px'}, 1000,'easeInOutQuad',function(){ $("

Xcode 4 and iPad2 splash screen issue

北战南征 提交于 2019-12-11 06:22:32
问题 Thank you for reading this. I created a brand new project in Xcode 4 (Window based kind) and tried to get the splash screens working. If I click on the blue icon of my project (top of the project hierarchy) and then click on "Target/Project", I see that I can drag and drop two launch images to use them as splash screens. My portrait picture is a 768 x 1004 px png file and my landscape picture is a 1024 x 748 png file. When I drop the portrait picture, everything looks fine but when I do the

On clild window close cannot send value to parent window in JavaScript for iPad Safari

核能气质少年 提交于 2019-12-11 04:43:06
问题 I need to open a new popup window/tab using window.open method of javascript and on close of the new tab/popup window have to return some values from closing window to parent window. When I open a popup suing window.open in my asp .net application which is supposed to be compatible with iPad. Value has successfully been returned when I use IE, Chrome, FireFox and Safari (on PC with windows 7). Unfortunately the same code fails in Safari when I access the application through iPad. On iPad

How to rotate iOS MKMapView so that it north-oriented when switching tracking mode?

房东的猫 提交于 2019-12-11 02:26:48
问题 I am working on an iPad app (iOS 5.1), and I use MKMapView to display a map in my app. I am switching between the three different map orientation modes using MKUserTrackingModeNone, MKUserTrackingModeFollow, MKUserTrackingModeFollowWithHeading and this works. However I have a problem with the orientation of the map not resetting to north-facing orientation (north on the map being at the top of the screen) when switching from MKUserTrackingModeFollowWithHeading to MKUserTrackingModeNone. On

UIPopoverController presented modally doesn't work in iOS 5

一笑奈何 提交于 2019-12-10 11:22:06
问题 First of all, can we talk about iOS 5 here? Or is it still under NDA? If we can't talk about it, just ignore my question. By testing my app with an iPad with iOS 5 installed I discovered a problem with my "modal" popover: This can be closed by tapping outside of it, in other words, it's not modal! I have no idea what I'm doing wrong. A view controller opens the popover with this code: AddProjectViewController *addProjectViewController = [[AddProjectViewController alloc] initWithStyle

What is the iPad2 User-Agent string?

爱⌒轻易说出口 提交于 2019-12-09 17:03:22
问题 Does anyone know the user-agent string of the just released iPad2? 回答1: This is my most recent user agent record from my ipad 2: Mozilla/5.0(iPad; U; CPU OS 4_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F191 Safari/6533.18.5 回答2: iPad 2 with iOS 5.1 Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3 来源: https://stackoverflow.com/questions/5677068/what-is-the-ipad2-user-agent

iPad 2 Safari not showing progressive .jpg files

∥☆過路亽.° 提交于 2019-12-08 09:31:39
问题 Using iPad 2 with OS 5.1.1. In Safari, trying to display a jpg image through img tag but doesn't shows (shows only ? icon). The same image displays if url directly typed on address bar. Also noted that if the image saved as non-progressive jpg, it works fine. The progressive jpg saved through photoshop on both "save for web" as well as "save as" methods. Both doesn't helps. Please any suggestions? 回答1: Safari has an apparent bug where it won't show some progressive JPEG images if some

Fix the div inside iframe at bottom of iPad

∥☆過路亽.° 提交于 2019-12-08 09:19:29
问题 I have a page with a fixed div which is displayed at bottom of screen. When I put that page in iframe it has no issues while viewing in desktop On desktop the yellow bar is coming at bottom without any issues: https://jsfiddle.net/x1p4bf7j/12/ <iframe id="if1" src="https://fiddle.jshell.net/8ghsm1La/show/light/" /> but on iPad it doesn't the text just doesn't fit inside iframe. Below is the text how it is displayed in iPad As you can see in the image there is no sticky footer coming. I want

UIScreen screens always return 1 screen

孤街醉人 提交于 2019-12-08 03:08:13
问题 I'm trying to display a picture on Apple TV with Airplay without mirroring mode. But [UIScreen screens] method always return 1 screen (main screen) when mirroring is OFF. I want my picture display same as Photo application (Airplay without mirroring). [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(screenDidConnect:) name:UIScreenDidConnectNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(screenDidDisconnect:) name

Get selected text on IPad 2 with Javascript

寵の児 提交于 2019-12-07 18:52:19
问题 I'am developing a web-application that allows to select parts of an html document and put some kind of annotation on it. To get hold of the selected text I use window.getSelection() which works pretty fine in IE9, FF, and Safari. However I run into trouble when using the same page on my IPad 2: If I just select a word by tapping it for a sec, window.getSelection() returns the proper selection. If I create a text range ( as discribed here http://blog.laptopmag.com/how-to-select-copy-and-paste