ipad

Share an Xcode project as a static library for other people to use in emulator. How do you use an AppDelegate from a .a static library file in Xcode?

I want to share my Xcode project as a static library for other people to use in the xcode emulator (giving them as little raw source code as possible). How do you use an AppDelegate from a .a library file in Xcode or UIBuilder? I copied the main Window.xib file to a new project and included all of the other source files in a static .a ...

Can you install an Ad-Hoc iPad distribution on an iPad emulator?

Can you install an Ad-Hoc iPad distribution on an iPad emulator? ...

ipad web application: How do I prevent the keyboard from popping up on jquery datepicker.

I have a form with an date field with a jquery datepicker attached to it. When I select the date field the datepicker pops up but then the iPad keyboard slides into view and obscures the datepicker. How do I prevent the keyboard from popping up in this situation? ...

Getting a screenshot of a UIScrollView, including offscreen parts

I have a UIScrollView decendent that implements a takeScreenshot method that looks like this: -(void)takeScreenshot { CGRect contextRect = CGRectMake(0, 0, 768, 1004); UIGraphicsBeginImageContext(contextRect.size); [self.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurre...

Why is NSXMLParser picking up this whitespace in the foundCharacters method?

Hello. I'm learning to use the NSXMLParser API for the iOS platform and so far it's very easy to use. I'm having a small problem, however, in the foundCharacters method. As I understand it, it shouldn't pick up any whitespace since the foundIgnorableWhitespace method is supposed to catch that, but it looks like it is. Here's the my c...

Adding a Menu Screen to an iPhone/iPad application?

I'm working on a game application for the iPad and now that I've made the game work in a single view I wish to add an opening menu where a user can either go to the game or change the settings. How do you lay this out in xCode? Many thanks in advance from a puzzled programmer. ...

Getting PDF document outline

I'm using Quartz 2D to render PDF on the iPad, this works fine. Now I need a way to get the document outline (table of content), I found the following function CGPDFDocumentGetCatalog which seems to be relevant, but the returned info is an opaque dictionary from which I don't know the keys. I want the outline in a tree with the page nu...

My xib nib files don't load for ipad version, why?

I have converted my project to support iPad (universal). I have changed it so the MainWindow loads MainWindow-iPad (it does), and that in turn calls it's sub-view controller (it does as well). In my sub-view controllers code, it instantiates other view controllers and loads them. But only the iPhone version is loading. So my question...

wait_fences: failed to receive reply: 10004003

Dear all, i am trying to add splitview into my project code. I understand that most of the SplitView project have their splitview loaded on the main window. but i need to have other views before i come to the split view. That's the reason that i added split view to one of my view controller. i have successfully added my split view.. ...

The navigation bar is too long on iPad(not iPhone)

I have created a program that can run both of iPhone and iPad. After running success i tried to run on iPad. But the navigation bar is too long. How to resize it or what are reasons? I don't know how to describe detail because i can't post image. NavigationBarToLongAndAPartCanSee TableViewAtCenter TableViewAtCenter T...

Rich text editor library for iOS

Does somebody know a rich text editor (like NSTextView for Mac OS X) library for the iOS platform? ...

Ipad Application without nib starts and then immediately closes

Im writing an ipad application. So far what I have is a Delegate and Root view controller which initializes the menu screen that starts the game. I am not using a nib, so in my main class, i start the application with UIApplicationMain(argc, argv, nil, @"PictionaryAppDelegate"); In my delegate, I have a applicationDidFinishLaunching...

jQuery trigger click mobile Safari (iPad)

I have stumbled upon a bug in Safari on iPad. $('#next_proj a').trigger('click'); .. does not seems to click on the actual link. Any clues? ...

SDK StoreKit Warning

I am getting down to the last programming on my little app and I am using the standard StoreKit code as follows: - (void) paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { switch ( transaction.transactionState ) { case SKPayment...

iPhone 4 apps automatically scale up on iPad?

I thought I read/saw/heard something saying that apps built for iPhone 4's Retina Display would automatically run at 640x960 when installed on an iPad. However, can't find any documentation on that specific feature, and my app still runs at 320x480 when installed on an iPad. Is there a step I've missed to make this happen? Or did I jus...

Flipboard or iBooks style animation

Are there any examples out there to emulate page turning like iBooks or Flipboard? ...

UITableView rotation issue

I have UIViewController with a UIView with UITableView inside. All works fine in Landscape mode but when the device is rotated to Portrait, bottom half of UITableView is not accesible (can't even select any row in the bottom half or make table scroll). All rows are displayed correctly. I am reframing and repositioning UIView and UITableV...

Add window.navigator.standalone to UIWebView DOM

Hi, You know how a "webapp" can be installed via Mobile Safari by tapping the + button? And by launching this app via the homescreen your webapp knows that it was launched from the homescreen because window.navigator.standalone is set to 1... Well.. I made an iOS app with a UIWebView that loads a web app. And now I'd like to add the w...

Crossdomain.xml and iPad

As far as I understand, the crossdomain.xml file technique for crossdomain XHR is based on Flash. This settings on the server allows Javascript code from the client (using flash) to bypass the Same Origin Policy. I was wondering if that technique doesn't work any more in iPad devices (since they don't support Flash). Does this also impl...

iPad Interface Orientation

I've been looking for a great pattern to deal with the orientations on the iPad without any luck. I know that there are already a lot of topics about this on stackoverflow but no one is really great so don't waste your time adding this topic as a duplicate. As any iPad application, you have to deal with (at least) 2 orientations (landsc...