ipad

How can a web page play mp3 on iPhone/iPad

As far as O know, web pages play mp3 sounds by embedding invisible Flash players. Since Flash is not available on mobile webkit (iphone/ipad), how is it possible to play mp3 on this platform? ...

Is it possible to override the minimum width of a button in Safari on iPad?

I have the following HTML-page: <html> <head><style> * { margin: 0; padding: 0; border: none; } button { width: 14px; background: #F00; } </style></head> <body> <button></button> <button></button> <button></button> </body> </html> When I run this code in any desktop browser, it works perfectly; the buttons are 14 pixels wide...

web apps Ipad : how to prevent keyboard from popping on textbox focus/click

I am trying to create a custom keyboard on an Ipad application. But each time the input get the focus, the native Ipad keyboard pops up... How can I prevent this, in javascript. Thanks for your answers. Kevin ...

Storage quota for app in iPhone / iPad

Hello all I am just wondering what's the storage size for an iPad/iPhone app to use? For memory, it is sure that every app can only use 100MB-like memory. How about the storage? I mean the file system in iPad/iPhone app? Use as much as I want until the file system is full? or something like that? ...

how can i load a view with split view in portrait mode also in ipad

i want to show both root view and master view in portrait mode .... ...

CABasicAnimation is ignored during rotation

I have a UIView that in the layoutSubviews method repositions its subviews based on the orientation of the iPad. Within the layoutSubviews method I have a CABasicAniamtion that is supposed to animate the repositioning of the subviews. The animations are set to specific duration but this duration is being ignored and repositioning happe...

iPad view appears sideways

I am working on an iPad app (which will not be submitted to the App Store) which supports only landscape mode. Most of the views in the application are pushed onto a UINavigationController with a hidden navigation bar. When I add the following code in the top view controller in the aforementioned UINavigationController, the new UINavig...

Xcode: iPad iOS 3.2.2 debugging problems

Hello all, I am trying to provision my app to run on my iPad for testing. I have everything set up properly, but in the organizer, Xcode displays this message: The version of iPhone OS on “iPad” does not match any of the versions of iPhone OS supported for development with this installation of the iPhone SDK. Please restore the devi...

ipad / iphone application EXC_BAD_ACCESS only in simulator, not on device

Hi guys - I was at client site today and made a couple of bug fixes there and then. I deployed the working copies of the app to their iPads and iPhone. Perfect. I have come home and now run the app in the Simulator.... but it crashes each time and I cannot figure out how. Unfortunately, I cannot see what I have changed which would cause ...

Can you establish a button in IB and move it programmatically?

I have a button set up in IB. I have an IBOutlet set up and the onscreen object linked to it. Is there a way to programmatically change that buttons position and/or size? I know you can change the title and some things but I don't see how to change it's position or size. Thank You. ...

IBAction being called NSCFDictionary and crashing app

I have an NSObject set up to control various elements on my screen. I initialize the class inside my View Controller like this: self.pageSetupClass = [[PageSetup alloc] set:self.pageID]; In IB I have added my NSObject object and linked a button to an IBOutlet on it. I've also linked it to an IBAction found in the object. When I cli...

iPhone App view fails to load in iPad but loads in iPhone simulator

I am simulating an "iPhone-only" app in iPad. The binary simulates fine in the iPhone simulator, but when attempting to simulate in the iPad, the initial background image appears, but then the screen just goes black. (Xcode v4.1, SDK 4.1) The app has only one view, which is controlled by a single custom UIViewController. (SoloViewContro...

Animaton like iPad Photo APP

Hi All, I am implementing photo gallery functionality i my iPad app . I want to display Photo gallery like iPad Photo app gallery. is there any external library or sample code available to do this ? thanks!!! ...

Schedule NSStreams on secondary thread

Hello, In an iPad app I'm developing, I need to put the network handling on a separate thread since it occasionally blocks the UI of the app. At the moment, I have created a Connection object in which all the networking logic goes (NSStreams and its delegate methods). The main obstacle is how to create the secondary thread and schedule...

iPhone / iPad - Creating a UI stack of notes like evernote

Any ideas how to go about creating an UI like the one used by the Evernote application where a notebook is represented with a stack of untidy notes under it. I don't need the code (i wont refuse it :) ), just pointers in how to approach this sort of UI. In case you are not familiar with the evernote application, here is a link to the ...

How do I import a particular custom font weight for the iPad?

Hi, I'm having trouble importing a specific font weight into my iPad project. I've managed to get custom fonts embedded using the info.plist file and referring to them using CTFontCreateWithName, but I'm having trouble now it comes to using a specific font weight. The file is called "UniveConBol.ttf" but in the installed font is just na...

iPad SDK, how to handle orientation with an UIImageView

Hello I'm developing an app for iPad and I try to handle multiple orientation. My app contains a webview and a loading UIImageView that appears when my webview is loading content. This UIImageView has a background image that I set in InterfaceBuilder. When I change orientation to landscape, the image is cut. I'd like the UIImageView t...

iphone/ipad: How exactly use NSAttributedString?

Hi all Yes, many people are saying about Rich Text in iphone ipad and many knows about NSAttributedString. But how to use NSAttributedString please??? I searched for much time, no extract clues for this. I know how to set up a NSAttributedString, then what should I do to display a text on iphone / ipad with rich text?? the official ...

Want to use muliple nibs for different iphone interface orientations

Hi, I have a situation, I have created two different nibs, one in Portrait Mode and other in Landscape mode. I had lots of designs in the view so, i had to opt for two different nibs. Now, I want to toggle the nibs as the interface rotates in the common viewController so that I can retain the filled values and the state of the co...

kickstarting a touchesMoved/UIPanGestureRecognizer mid-move for a new view

Hey all! Concept is that a user taps on an icon in a view, a copy of the icon pops up under the user's finger, and they can drag it around until they lift their finger. To do this, I desire the following icon has touch event add transparent whole screen UIView and paste a UIImageView containing the icon on it. track touchMoves or a u...