ipad

Using Mapping Models to migrate between Core Data Object Models

I have a fairly simply schema. Essentially, Run <--> Data (where a Run holds a data, e.g., Temperature, sampled from some sort of sensor). Now, it seems that sensors can have more than one measurement (e.g., Temperature and Humidity). So, a single Run could have multiple data samples. Hence, Run <-->> Sample and Sample <--> Data. (And...

How to handle iPad Modal View rotation

Hi, I have 2 views, each for portrait and landscape. I start by displaying the portrait view. On both the views, I have a button, which presents a modal view on clicking it. When the modal view comes up and then I rotate the iPad, the portrait view is replaced by the landscape view, but the modal view goes behind this view. Any idea ...

iPad translucent status bar?

Is there no way to make the status bar translucent for the iPad. I get this error when trying to do this: UIStatusBarStyleBlackTranslucent is not available on this device. ...

Error: 30509 -- Bluetooth not available iPad and iPhone GameKit stuff

When trying to connect the iPad to the iPhone via bluetooth it stays on the "Looking for other iPhones or iPod touches" screen on both. If i try running the iPhone version on both, they find each other. Is this some sort of restriction? Thanks. also, im getting: 2010-05-22 01:49:52.301 iPadTest[241:207] ********** Loading AX for: com....

xcode - ipad app. UIWebView Remember login info

I'm working on an application to run base camps website only. I need it to work when you login and press "Remember me on this computer" I'm not sure how to set it up to actually remember your login and keep you logged in when you come back to the app. Is there a way to 'save' the state of the application when you quite it and come bac...

The Canvas .fillText method doesn't seem to work on the iPad.

It does show text, but in the completely wrong place (not even on the Canvas element itself!), and in the wrong color (always black). Has anyone had experience with this or gotten it working? ...

Dynamically loading hi-res images into UIScrollView

I've been looking into creating a gallery mode in my application. The functionality will be identical to the built in Photos App. Here's the flow: 1. You touch on a thumbnail and ... 2. a modal view displays a large detail version of the image 3. You have the ability to scroll horizontally through all the images in the gallery while in...

How do I make UIWebView show a pdf file from its own app?

I really need to make a UIWebView open up a specific PDF document that is in my project directory. I can't seem to find any tutorials on this. I found one, but the author was not specific about some of the code. I have to assume it's got to be quite a simple bit of code. Can someone help me code UIWebView to load a PDF? Thanks. ...

iPad App Cookies Storage?

Hi, I have an application that sends you to one website that shows a login form. I've read up on cookies from the apple reference (http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookie_Class/Reference/Reference.html#//apple_ref/occ/instm/NSHTTPCookie/initWithProperties:) I'm honestly ju...

iPad: detect if external keyboard is present

Is there a way to detect if an external (bluetooth or usb) keyboard is connected to the iPad? Thanks! ...

Fake "user initiated" <audio> tag on iPad

I know that Apple's docs say that an mp3 within an <audio> tag on iPhone OS can't be played without user intervention (they cite bandwidth concerns, totally reasonable). However, has anyone succeeded in faking a user action to play the audio? Perhaps faking events to off screen native audio controls with JavaScript? I'm using jPlayer rig...

iPad application always opens in portrait mode

The app uses a UISplitView and it always opens in portrait mode. If the iPad is held horizontally it will open in portrait mode and then rotate to landscape. I'd like it to just open up in landscape mode without needing to rotate. Any ideas> ...

How to port existing iPhone application to iPad

Hi all, I have an iPhone application, now i want to convert that application to a universal application which runs on all the devices iPhone/iPod/iPad. So, where to start, what things i need to do? Any help, link, sample app, anything, will be highly appreciated. Thanks in advance :) ...

CALayer and UIView display order

I have a CATiledLayer within a UIView and the UIView also contains a subview. How can I make sure that the subview is always drawn above the layer? Most of the time I get the tile layer covering the subview. ...

Modal View Controller with keyboard on landscape iPad changes location when dismissed

I present a modal view controller on my on my iPad with UIModalPresentationFormSheet presentation style and UIModalTransitionStyleCoverVertical transition style. The Modal View Controller contains a UIWebView with some TextFields on it. When the user taps one of the text fields the keyboard comes up. I have noticed that in landscape mod...

What is the best way to start a movie the first time your app starts

I want to have a movie start the first time my app is launched to train users on its use, say a 50 second clip. How would I go about doing this in an iPad app? (I am building a very complex platform that has hooks into the web and need users to be aware of that. The video will explain that users can go to the website for different feat...

View XIB & Window XIB

Possible Duplicate: Where is the difference between an Window XIB and an View XIB template for iPhone OS > User Interfaces? What are the differences of these in iPad programming? ...

iPad: Move UIView with animation, then move it back

I have the following code in a UIView subclass that will move it off the screen with an animation: float currentX = xposition; //variables that store where the UIView is located float currentY = yposition; float targetX = -5.0f - self.width; float targetY = -5.0f - self.height; moveX = targetX - currentX; //stored as an instance varia...

Best practices for handling touches to a CCSprite with cocos2d

Hey all. I just started looking into the cocos2d library. I've heard that it's an easy library to get into if you're used to programming in ActionScript and I've found that a lot of the concepts are indeed similar. I started looking through sample projects (the sample games linked here were especially helpful) and I saw that handling of...

Have any libraries implemented UITextInputDelegate for Rich Text editing on the iPad?

I'm looking for a rich text editor for the iPad. It appears that this was nearly impossible until iPhone OS 3.2 which included the UITextInput protocol, but that still leaves developers a long way from a functioning editor. The OMNI Framework has started on a text editor (search google for 'omnigroup texteditor'), but it's more of a pr...