ipad-2

iPad 2 Safari not showing progressive .jpg files

时光怂恿深爱的人放手 提交于 2019-12-06 22:15:33
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? Safari has an apparent bug where it won't show some progressive JPEG images if some criteria are met. In my experience, Safari won't display jpgs when some of the following criteria are met:

Fix the div inside iframe at bottom of iPad

自古美人都是妖i 提交于 2019-12-06 16:13:11
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 that to be at the bottom of my iPad. Jack The issue is how mobile safari renders iframes. It doesn't

UIScreen screens always return 1 screen

一世执手 提交于 2019-12-06 15:42:40
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:UIScreenDidDisconnectNotification object:nil]; I used them, but they only work when Mirroring is ON.

Get selected text on IPad 2 with Javascript

可紊 提交于 2019-12-06 10:52:50
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-text-on-the-ipad ) always return "null". I've already examined the window, document and related event

UIImagePickerController (using camera as source) does autorotate on iPad2, how do i stop it?

女生的网名这么多〃 提交于 2019-12-06 04:10:40
问题 I am trying to write an app with some camera function, and I use an overlay view to decorate it with an image. This is how I implement the app: I use the UIImagePickerController to who the user what the camera takes in, and add a UIImageView onto the cameraOverlayView as a subview so that it works like this: (image at http://www.manna-soft.com/test/uploads/UIImagePickerView-portrait.jpg) This works fine until the iPad2 come into place... it autorotates like this and ruin the layout: (image at

Detect between the iPad and iPad2 via Jquery / Javascript?

让人想犯罪 __ 提交于 2019-12-06 01:30:24
Is there anyway to detect between the iPad and iPad2 via Jquery / Javascript? Or even PHP or some other way from a website? I have an iPad and an iPad2 with the same iOS version and i don't this this is currently possible it's producing the same exact user agent on both devices. iPad Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 iPad2 Mozilla/5.0 (iPad; CPU OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3 The javascript user agent Mobile string (Mobile/9A405

UIImagePickerController (using camera as source) does autorotate on iPad2, how do i stop it?

筅森魡賤 提交于 2019-12-04 11:46:19
I am trying to write an app with some camera function, and I use an overlay view to decorate it with an image. This is how I implement the app: I use the UIImagePickerController to who the user what the camera takes in, and add a UIImageView onto the cameraOverlayView as a subview so that it works like this: (image at http://www.manna-soft.com/test/uploads/UIImagePickerView-portrait.jpg ) This works fine until the iPad2 come into place... it autorotates like this and ruin the layout: (image at http://www.manna-soft.com/test/uploads/UIImagePickerView-landscape.jpg ) The UIImagePickerController

What is the iPad2 User-Agent string?

风格不统一 提交于 2019-12-04 04:35:49
Does anyone know the user-agent string of the just released iPad2? 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 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-string

iPad 2 detection

无人久伴 提交于 2019-12-02 15:45:09
问题 Since I don't have iPad 2, I need to know what it returns when calling [[UIDevice currentDevice] model]. I thought it returns just "iPad" but it seems I'm wrong. Can somebody let me know? Thanks 回答1: Check for an iPad with a camera. BOOL isIPad2 = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad && [UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera]); Note that it is generally better to detect specific features rather than make blanket assumptions

exc bad access code 2

梦想的初衷 提交于 2019-11-30 12:57:30
I have been struggling with this error for the last 3 days and no luck. I'm developing a combined app with uiviewcontrollers and uitableviewcontrollers and in table views I click the add button and it crashes. (no core data coding has been added yet). I have even enabled NSzombies and Guard Malloc and the following points of crashing are on these codes. Please help as I need to try chase a deadline and I don't want to go further in development with the gremlin in the project. 0x0 into 0x93e3bef3 testl 0x93e3570c movl 0x1f1b124 testl 0x1f18eb1 movl 0x8fecf203 addl 0x8feced68 movl 0x8fecc2c8