ipad-sdk

Video/audio streaming does not stop even if UIWebView is closed - iPad

Hi I see this issue only on the iPad. The same things works as expected on the iPhone. I am opening the URL from my application in a UIWebView. If the URL is a normal web page, it works fine as expected. But if the URL is that of a remote video/audio file, the UIWebView opens the default player which is again good. Now when I dismiss ...

iPad launch orientation not detected

I have an iPad app that works correctly except for an odd issue during launch. I've read several questions & answers regarding orientation, but this still has me stumped. The root view controller is a UITabBarController with 3 tabs. Two of the tabs are have custom view controllers (one based off of UIViewController, the other off of UIT...

UITabBar in iPad - Won't go into landscape mode with more than 2 items

I created a new project and selected the Tab Bar template for iPad. I opened it up in Interface Builder and added 4 more items, bringing the total items to 6. I did a build and run and it opened up fine in the iPad simulator, but it wouldn't go into landscape! I then backtracked in interface builder and found that it would go landscape i...

Updating iPhone App for iPhone OS SDK 3.2

Hi all, I think the following is true but wanted to confirm before releasing. I don't have a physical iPad to test with, unfortunately. With XCode 3.2.2 and iPhone 3.2SDK installed (latest available as of late April), if I set for my App: Base SDK = iPhone OS 3.2 Target Device Family = iPhone App (NOT iPhone/iPad Universal App) iPhon...

Cocoa touch SDK 3.2 - How to play video

Hi, How do I play video on SDK 3.2 (iPad)? Read many questions here but they talked mostly for iPhone. For example, the MoviePlayer example here http://developer.apple.com/iphone/library/samplecode/MoviePlayer_iPhone/Introduction/Intro.html That works on 3.1.3 but when I run it on 3.2, it doesn't work. So basically I'm able to play...

CFBundleDocumentTypes and iPad camera connection kit (SD reader)

I am trying to register a custom document type in an iPad app, with the hopes that I can be prompted to work with files on an SD card attached to the iPad through the camera connection kit. Does anyone know if this is currently possible (or even for sure if it's not possible)? I was hoping that the Camera tab in Photos would use a docu...

iPad UIViewController loads as portrait when device is in landscape

I have an application with 3 view controllers. They are all have shouldAutoRotateToInterfaceOrientation returning YES. The first two, my main menu and my submenu both autorotate just fine. The third viewcontroller, which programatically loads a UIImageView from a jpg file in the program's bundle, will only display in portrait. In the...

UITableViewController truncating section header title

I've got an iPad app with a UITableViewController. I am setting the header titles for my table sections using - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section When the table loads, if I scroll down too quickly, when a section header appears on screen it will be truncated to the first letter ...

iPad keyboard dimensions

Hey guys! I have found the iPhone's keyboard bounds in the apple documentation, but I can't find the iPad's keyboard bounds. Could you please help me? ...

Signature control - iPad

I'm looking to develop a signature control for the iPad. I haven't really done this before, but I think this involves creating an area to draw, the draw itself and the storage. Any tips on how to get started will be great! I'm also looking at using a stylus to create a signature. Are there any styluses that are specifically built for t...

I would like to resize a window/image in a nib at load time.

I have an iPhone app that I'm porting to the iPad. I store several of the ViewControllers in xib's that I would like to resize when they're loaded. For example my startup screen with options is a bitmap that can easily scale up (despite the mis-matched aspect ratio) and I'm trying to figure out where I have ability to resize the image/...

UISplitViewController programmtically without nib/xib, thank you.

Hi, I usually create my projects without IB-stuff. The first thing I do is to strip off all references to xibs, outlets updated plist, etc and so forth. No problems, works great (in my world)! Now, I just installed 3.2 and tried to develop my first iPad app. Following same procedure as before, I created a UISplitView-based application ...

iPad Custom Font

Hi, is there a way to load an own Font with the iPad SDK? I cannot find a useful example of what file-type the font has to be or how the LIB of the iPad is called. Can you provide further informations? Thank you ...

Looping through values in NSDictionary throws fault

I have a plist file that I am loading into an NSDictionary *setDictionary that contains a set of fields, pictureDesc1, pictureDesc2, etc. Once the NSDictionary is loaded, I can retrieve a value using [setDictionary objectForKey:@"pictureDesc1"]; But I cannot do a loop like this: for (int i=1; i<=numberOfPictures; i++) { NSStrin...

iPhone / Objective-C: NSMutableArray writeToFile won't write to file. Always returns NO

I'm trying to serialize two NSMutableArrays of NSObjects that implement the NSCoding protocol. However it works for one (stacks) and not the other (cards). I have the following block of code: -(void) saveCards { NSArray* paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString* document...

Universal iPad App rejected because of launch crash that I can't reproduce

Hello everyone, I'm very frustrated with this problem. After one week of waiting my universal iPad app has been rejected because "is crashing on launch on iPad running iPhone OS 3.2 and iPhone 3GS running iPhone OS 3.1.3 and Mac OS X 10.6.2." Unfortunately I can't replicate the problem, I've tested in debug and release modes and the ap...

iPad: SplitView does not rotate

I have the following setup: A subclass of UISplitViewController that creates the master and detail view controllers in the constructor. Master and Detail view controllers that both override shouldAutorotateToInterfaceOrientation to return `YES'. Detail view controller implements the UISplitViewControllerDelegate protocol and deals with...

ipad simulator rotating

I am testing an application on iPad Simulator and I need it to start my app in the position the simulator is but every time I run the app, the simulator rotates to portrait. Is there a way to stop this behavior? thanks. = = = = last time edit: I discovered now that if I return NO on shouldAutorotateToInterfaceOrientation, the probl...

Using Google Earth API inside iPad app's

I need to create an iPad application that uses Google Earth at its core. So Basically when the app opens it will need to run Google Earth. Then I would need to add additional features tailored to our business such as photos of our different hotels and offers and different icons and various features. Is this at all possible and how ...

iPad split view

I have a split view and on the left side of it I have a table view now I want whenever I click a cell on the table a new view is loaded on the left side itself. How can i do it any suggestion. Thanks. ...