ipad

MPMoviePlayerController questions, best practices

I have any number of thumbnail images that, when tapped, will play a different video (fullscreen). I have never been clear on whether I should keep one MPMoviePlayerController object in my view controller and have it play whichever url according to the thumbnail that was tapped, or create a new MPMoviePlayerController each time. What is ...

FInd the width of contenView in a UITableViewCell in case of iPad.

On iPAD when you create new UITableViewCell the contentView width set for 320. Is there a way to get the right width? I can't use the width of the current view as the table cells do not span the entire width of the view. Any help would be greatly appreciated. ...

How to Play Two Videos Simultaneously in a UIWebView

I'd like to play two videos at the same time from an HTML page in a UIWebView. By default any playing video is stopped when another is started. This happens even if the two videos live in different web views. Is there a way to force continued play for the first video? ...

What is the convention used when abstracting iPhone/iPad code into a Universal Binary?

So I am currently working on a universal binary for an app that is to be ran on iPad and iPhone. The differences are basically only UI changes. So, with that in mind, I have a class called ConfigurationController that is of type UIViewController. I then sub class ConfigurationController into iPadConfigurationController and iPhoneConfigu...

NSURLConnection didFailWithError not called?

Why, when an image does not exist at a specified URL, does didFailWithError not get called? For example: NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com/images/someImageIknowDoesntExist.jpg"] cachePolicy:NSURLRequestReturnCacheDataElseLoad ...

Universal iOS app crashing on iPhone/iTouch 3.1.3 due to UIPopoverController

I just updated my app so that it's a universal app. In doing so I added support for UIPopoverController in a certain place. Now the app seems to be crashing on 3.1.3 iPhone/iTouch devices: OS Version: iPhone OS 3.1.3 (7E18) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000001, 0xe7ffdefe Crash...

IPad Core Data Leak ?

Im using XCode 3.2.3 and have created an app using the SplitView template with Core Data. When i run the default app on the device (3.2) in debug mode with instruments running i am seeing a leak. When the default app has no items added to the table view within the split view there is no leak. But after adding items and running the app a ...

How To Annotate A PDF in iPad

Hello All, I need to annotate a PDF in my application. is there any API for PDF annotation in iphone/ipad ? any suggestion thanx in advance. ...

google api in ipad

Hi , I am trying to load google map to uiwebview after performing a query using "http://maps.google.com/maps?q=test,test,50786".The problem is that i need to hide the side bar and top address bar from the resulting map page and show only the map area in the map view .Is this possible?. Thanks in advance. ...

What's the current App Store Review turnaround time?

Have heard of developers waiting 2 to 6 weeks in 2009. When they reject the app, you resubmit and wait another 2 to 6 weeks. So finally the review takes a few months. Same for fixing bugs. Does this rule still apply? ...

Books / Videos / Ressources to dive deep into Core Data?

My boss gave me the big mission to become an Core Data nerd. He wants me to spend at least 4 months fulltime on this topic, so that I can help with any problem that arises. Damn. Ok... I assume you have lots of great links for me! Let me suck them into my brain like a vacuum cleaner. Videos, Books, Ressources, etc... he gave me $500 bu...

CGContextDrawPDFPage leaking in iPhone 4 but not in iPad

I'm porting my iPad app to iPhone. Using the same code, CGContextDrawPDFPage is registering leaks in Instruments when running in iPhone, but not when running in iPad. I find this really disappointing because http://www.openradar.appspot.com/radar?id=126402 says CGContextDrawPDFPage leaks should already be fixed. Does anyone know the re...

Why is my the designated initializer of UIViewController never called?

I created a new Xcode project with a view-based app template. In the .m of the view controller I overwrote this: // The designated initializer. Override to perform setup that is required before the view is loaded. - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { if ((self = [super initWithNibName:ni...

UIPOPOVER for Iphone? or is it fake ?

Can anyone take a look a this ? : http://www.woowoomac.com/storage/awesome-note-iphone-note-todo-app-menus.jpg?__SQUARESPACE_CACHEVERSION=1268581762429 As we know iphone 4.0 does not support UIPopovers - any idea how did they manage to create a pop over like that ? ...

Optimal approach to displaying a large tableview in iPad

We need to display a tableview with over 400 rows and each row needs to display data worth 12 days' all time slots. The data is added as buttons to each of tableview rows inside a scroll view and the data is read from database. There are number of issues we are facing: slow scrolling since data is fetched for every cell as the table sc...

iPad UISplitViewController rotates unnecessarily when modal dialog is closed.

I have a reasonably simple split view application adapted from iPhone code. The main functionality is in shared classes with iPhone and iPad specific classes inheriting and augmenting the code. All the classes used in the iPad app have the following: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrie...

iPad - topmost modal view controller won't dismiss when there are multiple

I'm working on a dual-iPad/iPhone application. I'm having a problem that is occurring on the iPad only: Root view controller is a UISplitViewController on iPad, UITabBarController on iPhone A modal UIViewController can appear over the root controller A modal UIViewController can appear over the previous modal controller On iPad, modal...

What exactly is NSBundle useful for - only to access resources of the .app package?

...or could I also get an NSBundle that represents the Documents directory, to easily access contents in there? ...

Why are some websites not zoomable on iPad?

Does anybody have any idea why iPad zoom (you know, where you use two fingers to enlarge the text/screen) does not work on some sites? For example: facebook.com c3.arc.nasa.gov/nex/ ± the site that I'm working on. Google search does not reveal anything, which makes me think it’s not a common problem. Thanks beforehand for any insig...

ipad screen size

the iphone screen size is 320*480 px, i'm wondering what the ipad is? Coz i'm developing some universal app that need different size of background picture. ...