ipod-touch

Is there an equivalent apple-touch-startup-image for the IPAD?

送分小仙女□ 提交于 2019-11-30 03:45:44
For web apps you can set the startup screen with apple-touch-startup-image What about for iPads? I had the same issue as well... You need to you use a specific size of 1004*768. i explained it in this blog: http://www.amirnaor.com/?p=71 adamdehaven This will add a Splash Screen to your Web App. Below are the sizes you’ll need for both iPad and iPhone/iPod Touch, and iPhone 5. These include the status bar area as well. <!-- iPhone --> <link href="http://www.example.com/mobile/images/apple-touch-startup-image-320x460.png" media="(device-width: 320px) and (device-height: 480px) and (-webkit

Is it possible to access iPhone/iPod Touch music stats through the SDK?

こ雲淡風輕ζ 提交于 2019-11-29 23:57:02
问题 I've seen it's possible to access musics and playlists and even play them. But is it possible to access the statistics attached to each music? Like play count, stars, dates and times of listening? 回答1: Querying the media library... MPMediaQuery *query = [[MPMediaQuery alloc] init]; [query addFilterPredicate: [MPMediaPropertyPredicate predicateWithValue: @"Moribund the Squirrel" forProperty: MPMediaItemPropertyArtist]]; // Sets the grouping type for the media query [query setGroupingType:

Determining the maximum number of simultaneous touches possible on an iOS device?

时光毁灭记忆、已成空白 提交于 2019-11-29 12:25:02
Is there a way to find out the maximum number of simultaneous touches on an iOS device (iPhone, iPod Touch, iPad) ? I've read here and there that iPhone can handle 5 while the iPad can handle 11, but I haven't found an official way (through a function call, say) to confirm this. By testing it! See here for videos and source: http://mattgemmell.com/2010/05/09/ipad-multi-touch There's no public API to request that information from the hardware. iPhone can register 5 touch points on its tiny display, don't know about iPad. Having said that, I wouldn't count on the numbers that you find

How to configure iOS app to work on specific devices?

懵懂的女人 提交于 2019-11-29 06:39:14
问题 I am developing iOS app with ZBar SDK for QR-codes scan. Here ZBar SDK creators tell us that Only the iPhone 3GS and iPhone 4 are supported, as they have a camera with auto-focus. The ZBar library does not support the iPhone 3G and is unlikely to ever support it. So I have added auto-focus-camera key to the Required Device Capabilities section of my plist. All is great, except one thing - iPad 2 & iPod Touch 4th Gen doesn't have auto focus camera, but still are able to use my ZBar SDK code to

Detect the specific iPhone/iPod touch model in Javascript

落爺英雄遲暮 提交于 2019-11-29 02:22:46
I am developing a website for Apple i* devices which uses HTML5 webkit features like transitions but I want to disable some of the fancy stuff for older/slower iPhone models like iPhone < 3GS and iPod touch < 3rd Gen because on those devices the transitions are too slow. Is there a way to detect the exact model (not just the OS/User Agent) within Javascript? This appears to work, at least to determine between 2 and 3g and 3gs... Don't know how to figure out if it is a 4g yet... var percentmobile_t = new Date().getTime(); var percentmobile_s = 0; while(new Date().getTime() - percentmobile_t <

Is there an equivalent apple-touch-startup-image for the IPAD?

谁都会走 提交于 2019-11-29 00:52:56
问题 For web apps you can set the startup screen with apple-touch-startup-image What about for iPads? 回答1: I had the same issue as well... You need to you use a specific size of 1004*768. i explained it in this blog: http://www.amirnaor.com/?p=71 回答2: This will add a Splash Screen to your Web App. Below are the sizes you’ll need for both iPad and iPhone/iPod Touch, and iPhone 5. These include the status bar area as well. <!-- iPhone --> <link href="http://www.example.com/mobile/images/apple-touch

What are the protocols supported in Iphone's External Accessory Framework

耗尽温柔 提交于 2019-11-28 08:44:36
I'm working on an iphone/ipod app that will need to communicate with a computer (MAC for now, maybe PC if possible) though the USB dock connector cable. I'm a complete beginner with IPhone programming and from what I've been able to find out, the External Accessory framework is the place to start. While going through the online documentation about the framework I came across references to supported protocols. I couldn't find any more information about them so I'm wondering what they mean by protocols? Are they well known ones like HTTP, FTP etc? or am I completely off the mark? Thanks a lot

Dynamic iPhone App icons?

ぐ巨炮叔叔 提交于 2019-11-28 04:58:34
问题 The calender app does it... How can I make an app icon change based on stored info from the iPod or iPod app settings? EDIT: I realized today that it is possible to access bundles via the sdk. (At least read access) If I had a graphics API (OpenGL, perhaps) then I could possibly modify the icon like that. The operation would be: get icon.png from bundle. modify it resave it into the bundle. Does that make sense? 回答1: Unfortunately you can't use the SDK (which of course Apple isn't restricted

jQuery Drag and Drop on touch devices (iPad, Android)

感情迁移 提交于 2019-11-28 03:16:14
We have a card game website that makes extensive use of jQuery Draggable & Droppable and which has worked nearly flawlessly (when using a mouse) for almost a year. We would REALLY like to have the site work on touch screen devices, but we cannot seem to get jQuery's drag and especially drop functionality to work reliably. Dragging works "ok" unless the div being dragged is inside another dom element with any kind of offset, margin, padding, etc. If it is, the dragged element is also offset from the user's finger by a similar amount. May not sound like a big deal, but it makes the interface

Can js/jQuery determine the orientation of the iPhone?

浪尽此生 提交于 2019-11-27 17:53:37
Out of curiosity I've been playing with jQuery to determine the browser's screen size, and it occurred to me that screen size could be used to determine whether or not a visitor was using an iPhone/iTouch to view the site. So I used the following to test this: $(document).ready( function() { var screenX = screen.width, screenY = screen.height; alert("X: " + screenX + " Y: " + screenY); if (screenX == 320 && screenY == 396) { $('div#wrap').css('background-color','#f00'); } else if (screenY == 320 && screenX == 396) { $('div#wrap').css('background-color','#0f0'); } } ); On viewing the page via