ipad

Assertion and exception on iPad simulator but not iPhone sim or device!

So I've been working on getting my app ready for iOS 4 and iPhone 4. Installed the latest Xcode and SDK and have been tweaking out graphics, etc. All is working flawlessly except I'm having problems running the app on the iPad simulator. I don't have an actual iPad to test. My app uses an ABUnknownPersonViewController and it crashes whe...

How do I get an app to show up in the Application Loader?

I added a new App ID and distribution profile then went to iTunes Connect and added a new application from the Manage Application link- Uploaded screenshots and the icon. So what else do I need to do to get the app to show up in the Application Loader? ...

Are there mounted volumes on the iPhone / iPad? How to use these?

NSFileManger has this method: - (NSArray *)mountedVolumeURLsIncludingResourceValuesForKeys:(NSArray *)propertyKeys options:(NSVolumeEnumerationOptions)options the docs say it's for iOS 4.0; That sounds interesting. So I can plug in an USB stick now some time soon? Or can I do so already via the 30-pin connector (if I had a fancy adapt...

playing intro movie on ipad

i am trying to play an intro movie (like a splash screen). it used to work fine for sdk 3.0 but now i am doing it for iPad. and its not running movie instead it just show black screen before view appears. here is my code (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSStr...

UIViewController.xib with its class

I got a UIViewController class named DetailViewController, its xib file is called detailViewController.xib. In the xib file the class is set to DetailViewController class. So it should be all good. However, when i try to add this view from main view controller, nothing showed up... Here's the code in the main view controller @interfac...

MPMoviePlayerController controls - remove fullscreen and aspect buttons?

The documentation shows 3 control styles: MPMovieControlStyleNone, MPMovieControlStyleEmbedded, MPMovieControlStyleFullscreen, MPMovieControlStyleDefault = MPMovieControlStyleFullscreen I want the controls to mimic the kind found in Apple's "Videos" app, which do not have a fullscreen button or an aspect ratio button. None of the ab...

UITableViewCell incorrect width on iPad

We have a modal view that contains a Table view that contains UITableViewCells used to edit an item. On the iPhone everything works fine, but on the iPad we're unable to get the UITableViewCell to register as anything besides 320 px wide. It will basically display correctly, but the items inside of the cell align as if it were only 320 p...

CGPDFDocumentCreateWithProvider() and CGPDFDocumentCreateWithURL() used on a local file

Most, if not all, tutorials use CGPDFDocumentCreateWithURL(). What is the difference if using CGPDFDocumentCreateWithProvider() instead? Let's say the pdf is being taken from a local file on the device, not downloaded from some website. Will there be a performance difference? Which is better? ...

Does NSKeyedArchiver overwrite the entire file every time you archive?

I need to store various types of data and update it from different parts of my application at different times. I was under the impression I could use NSKeyedArchiver to do this and just update parts of the data using the appropriate key when necessary...much like a database. It seems that NSKeyedArchiver overwrites the entire file ever...

Possible to transfer PDF from iPad to Computer

Hi, I am working on a enterprise level application for the iPad which has a number of functions that have already been implemented into it. Currently the application is able to generate a PDF using Quartz 2d and send that PDF to a given email without problem. I have come to a part of the application (feature request) that I am currently...

How do i view eps file in iphone?

Hi, I am new to iPhone app development. Can someone help me in displaying eps file content in iphone. Thanks Rajeev ...

How to save NSMutableArray of NSValue in CoreData?

I'm doing drawing app for ipad which need to save multiples of NSMutableArray of CGPoint (Converting into NSValue), suggest me for choosing coredata functions or any other approachs for saving more number of arrays ...

UIPopoverView becoming distorted when keyboard is shown + iPad

Hi all, I am having an issue with the layout of UIPopoverViewController. Currently I am showing an PopOver of Size (350, 820). I have a button clicking on UIAlertView will be shown with a text field within it.At the same time keyboard is also shown. Now the problem is that whenever the keyboard is my PopOver becomes distorted. Means th...

Search text in html files - iPhone App

Hi I am making an iPhone app for an ebook with ebook data in html files. I have to implement search text functionality for ebook data, book size is fairly large. Can somebody please suggest me recommended practice for searching text in large html files - keeping in view performance and other constraints in iPhone. Thanks. ...

How can I retrieve files from an iPad development tool app?

I'm not sure how best to word the Title of this, so if someone can suggest a better one, please feel free to edit. I'm writing an app for iPad that requires me to create some of the app data files with the iPad itself during development, i.e. a tool I am building with the iPad will be used by the developers themselves to create sample f...

hitTest returns wrong UIView

I have a view hierarchy which contains smaller views on a scroll view. Each view can have subviews in it such as buttons etc. For some reason, buttons on the view aren't clicked; exploring this further showed that while the scroll view receives the touchBegan event, the button does not. Calling the hitTest:event: message shows that the...

Save Text From UITextVIEW ????

Hi Guys! I'm having a problem : i can' find a way to save properly my UITextView in a NSString. I have created 4 UITextViews and i want them to be saved in the same file. Heres the code : -(void)destinataireTextView { self.destiView = [[[UITextView alloc] initWithFrame:CGRectMake(200, 160, 150, 120)] autorelease]; [self.view a...

Programatically highlight first row in tableview after first load

Im trying to highlight the first row in my table upon first loading the data and just cannot get it to work! I have tried lots of ways with no joy, the latest attempt being this: NSUInteger indexArr[] = {0,1}; NSIndexPath *n = [NSIndexPath indexPathWithIndexes:indexArr length:2]; [self.tableView scrollToRowAtIndexPath:n atScrollPosit...

iPad not resigning responder

Hi, I have a table with 3 UITextFields added to the content views of cells (1 row per section). I have a 4th section that I insert so that I can scroll the particular field to be above the keyboard. The problem I have (on the iPad only) is that when one of the text fields has firstResponder, it does not relinquish it when user taps on...

SecTrustCreateWithCertificates crashes on iPad

Hi all, I am trying to use iOS security framework to securely communicate with my server. I have a certificate file from which I am able to get a public key reference. This is what I doing. NSString *certPath = [[NSBundle mainBundle] pathForResource:@"supportwarriors.com" ofType:@"cer"]; SecCertificateRef myCertificate = nil; NSDat...