ipad

Intercept UITableView scroll touches

Is it possible to control when the UITableView scrolls in my own code. I am trying to get behaviour where a vertical swipe scrolls and a horizontal swipe gets passed through to my code (of which there are many example) BUT I want a DIAGONAL swipe to do nothing, i.e the UITableView should not even begin scrolling. I tried catching it ...

Unknown and unreproducible crash causes App Store rejection

After submitting our application several times, we continue to receive the following response: Thank you for submitting My App to the App Store. We've reviewed your application and determined that we cannot post this version of your iPad application to the App Store because My App is crashing on iPad running iPhone OS 3....

How can I query the current orientation of an iPhone/iPad screen?

I was curious to know if there is some way to determine the orientation of a screen on iPhone/iPad. Currently I find myself setting a member variable when this message is called: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { self.orientation = interfaceOrientation; return YES; } ...

Referencing a View from another View in InterfaceBuilder

Is it possible to position a view defined in a XIB as a subview in yet another view in that same XIB file? Alternatively, is there a way the "subview" can be defined in another XIB file and positioned in the first view in a different XIB? I've figured out how to do this for UIViewControllers but not for UIViews. Has anyone figured out ...

What is the optimum size for images on the ipad?

Hi, I have built a photo app for the iphone which has albums of high resolution images that the user can flick through. It's based on Three20 and the TTThumbsViewController. The images are currently mostly 2048x2048 or thereabouts but this seems too large given the screen is only 1024x768. Is there any value in leaving them at the ...

Will you publish your app without device testing?

Hello, me and my friend develop iPad application (a lot of CoreGraphics stuff). But we can't find an agreement. I tell him that testing on device is essential, he tells me that testing on iPhone 3G/3GS will be enough (I have both devices). Can you tell me, probably we really can test our app on 3GS? The main thing is that interface will...

Adding subviews programatically on iPad, hard coding help

I'm adding a custom status bar in my application to monitor upload progress. This works fine in portrait mode, but when I am in landscape and my custom status bar appears, it always appears on the opposite side of the home button. I think it's because I'm hard coding my frame. I have the XIB file set to auto adjust its length. take a...

IPad + UIPickerView

Hello All, I am facing one weird issue with UIPickerview in IPad. I am not able to select the last row by making use of [iPickerView selectRow:11 inComponent:0 animated:NO]; This is picker data source iPickerArray = [[NSArray alloc] initWithObjects: @"1:00", @"2:00", ...

Database app on iphone - architecture question

So this question is more around the design decision than anything else.Essientially, I want to build a iPhone/iPad app that will allow users to manage their database. Now there are two ways of doing this (i think). Create native objective-c drivers for each database that provide a complete wrapper around creating/managing databases (ta...

presenting a modal view over a splitView

Hi everyone: I'm having a problem making a universal app... In the application delegate I set up the main navigation for ipad and iphone: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { window = [[UIWindow alloc] initWithFrame:[ [UIScreen mainScreen] bounds]]; if (UI_U...

how to register the app to open the pdf file in my app in ipad

i want to open the pdf file in my app from pdf page, but i am not getting any option of opening the pdf in my app. this my info.plist file <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>PDF</string> <key>CFBundleTypeRole</key...

How can I detect which system my App Store application is running on?

I am developing a Cocoa Touch application for Apple's App store and I want to do some tweaking in the code depending on what device it's running on. How can I tell? ...

UISplitviewcontroller - detailedView size on UIOrientation change?

I am creating a uisplitview programmatically, like http://stackoverflow.com/questions/2757489/uisplitviewcontroller-programmtically-without-nib-xib-thank-you/2977885#2977885, I am also showing 2 tableview within the detailedview. I am having difficulty getting the width of the detailedview to show the tableviews in the middle. current...

YouTube javascript API accessible via UIWebView on iPad?

I can't seem to get this working using stringByEvaluatingJavascriptFromString. Apparently the webview does something peculiar to youtube videos (due to the YouTubePlugIn.webplugin perhaps?) and the javascript API is unusable. The problem I'm having: How do I pause\stop a video when the user navigates away from a UIWebView with an embedd...

How to setup UISplitView with a navigation controller in the detail view

So just went through this tutorial: http://icodeblog.com/2010/04/05/ipad-programming-tutorial-hello-world/ Now what I want to do is setup the detail view as a navigation controller. The question is how? My first inclination is to have the DetailViewController extend a UINavigationContoller. Is that the best approach? If so does the a...

Archive format suggestions for exporting iPad app data? Tarball?

I have an nascent iPad application, which stores "documents" internally on the device in the file system as a series of distinct files in a folder. I'd like to try incorporating an import/export function through iTunes, using the features for OS 3.2 for this. I want to put all the document pieces that I keep internally into one containe...

Best way to ask for a single field text input on iPad

I want to ask for a single text field input. So my options seem to be: Modal form (too big for one field) Alert box containing text field (against iPad HIG - but try adding a playlist in the iPod application - Apple breaking it's own rules?) Modal popover What are your thoughts guys? i'm leaning towards 3. ...

Run a universal app as a 'legacy' iPhone app on an iPad

I do most development testing on my iPad. When I test an iPhone app, it runs in 'compatibility' mode where the little iPhone app runs in a small window or x2 magnification. Now that I've created a universal app it runs as a native iPad app. For testing I'd like to use the simulated iPhone when I don't have an iPhone handy for testing. ...

How can I upload a file from an iPad to a web server (upload servlet)

Hi, I'm writing an iPad application that mimics a flash website I built. The site uses Flash file uploader to upload files from the user's filesystem to my tomcat server. I understand that an iPad application can sync files via iTunes to a Documents folder. Given access to those files, how can I invoke a file upload of a selected file t...

Can the Cancel button be removed from a UIImagePickerController in OS 3.2?

The problem: Can this button be killed in a popover? I can remove the button in the ABPeoplePicker*Controller that appears when picking Contacts by editing the private VC's navigation item on the fly, but this one eludes me (no UINavigationControllerDelegate methods are called by the UIIPC). ...