ipad

Navigation bar button doesn't work after updating current target for iPad

I'm trying to convert my iPhone app to a "universal" app with the following steps. The app's first screen has a navigation bar. Download and install Xcode 3.2.3 and iPhone SDK 4. Open an existing Xcode project of an iPhone app, select the target and choose "Update Current Target for iPad..." from the File menu. Select "One Universal ap...

UITabBar in iPad - Won’t go into landscape mode

UITabBar in iPad - Won’t go into landscape mode.. ...

How to project my iPad application in projector.

Hi, I need to do presentation of my application in projector, to do so I need to enable or disable any setting in my project or else want to write any extra coding to display my application in projector. The ipad youtube application is being projected, then why not my application. please help me. Thanks in advance. ...

iOS 4 + MPMoviePlayerController

Hello All, I have developed universal application which runs on both IPad and IPhone. I am using one component of MPMoviePlayerController in this. now the iOS4 is released, Today I got a bad news about my application rejection due to this MPMoviePlayerController crash. iDemoPlayer= [[MPMoviePlayerController alloc] initWithContentURL:a...

How to call [[UIScreen mainScreen] scale] in a universal app for the iphone and ipad

I'm making a universal app that will run on both the ipad and the iphone. So far so good, but I have just updated my SDK to ios4 and am wanting to call [[UIScreen mainScreen] scale] (scale is not in the 3.2 sdk and the ipad doesn't have ios4 yet). I know that I can call [[UIScreen mainScreen] respondsToSelector:@selector(scale)] to fin...

Loading SplitViewController not from main.xib file

My application is of type View_based. I need to add splitviewcontroller in my another class. Also when added splitviewcontroller how do i load it from another class and not from the main window? ...

Localise UIDatePicker - in app only

Hi, I have an app in which the user can select the language for the session, so I have implemented my own localisation within the app (the app will be installed on iPads which will always be based in the UK, but users may be of different nationalities - which is why I'm not using device locale/region settings). My problem is the UIDate...

Using an NSManagedObject subclass entity in both an in-memory store, and a SQLite store

I would like to use a single NSManagedObject subclass to represent an item. However, much of the time, the items I will be representing are fleeting, and are not to be saved to the persistent store. It seems like an in-memory store would be the correct setup. However a few times the user can choose to 'save' an item, and thus I would th...

How do I lazy load 100+ pages in a UIScrollView with paging enabled?

I'm creating a comicbook-like application. I'm using a UIScrollView with paging enabled to display the hi-res full-screen images (the app works similar to Photos.app but with zooming disabled). The final product will have nearly 200 images that need to be paged through by the user. How do I go about setting up the UIScrollView for such a...

Instruments Living Count and/or Retain Count Issue

I'm running into a retain count issue that I do not understand. (I've added what I believe to be the retain count of vertex in [] at the end of each line of code). CBVertex *vertex = nil; for(int i=0; i<10; i++) { vertex = [[CBVertex alloc] initWithFrame:CGRectMake(minX, y, 10.0, 10.0)]; // retain count [1] [vertex setTag:i]; ...

Leaks (instrument) reports leaks in autoreleased objects

Update: this leak has been solved. If you are getting similar leaks and your application is multi-threading, you are most likely making UIKit calls from a background thread; make use of e.g. [NSThread performSelectorOnMainThread:] to route UIKit calls out to the main thread, which is the only place where they are allowed. I've been runn...

setup box2d for xcode ipad

I'm following this page, but the explaination it's for iphone simulator, i have the ipad simulator and the iphone os 3.2 in the xcode but when i try to follow the example and make it work for ipad get lots of errors in the box2d classes. Here it's the source: http://www.drobnik.com/touch/2010/05/physics-101-uikit-app-with-box2d-for-grav...

JW Player on iPad causes issues

Hi. I'm trying to use the JW HTML5 player in an AnythingSlider. It works fine on all the browsers but not on iPad; Page is here: http://bit.ly/d3ouub Here's what's going on: - If you start a video in any of the AnythingSlider panels (Panel 1 and Panel 5 contain video), the video will overflow the AnythingSlider and appear either on the...

Submitting iPhone app to app store without testing on a device

I've tested my app thoroughly on the simulator, but I don't have an iphone/ipad/ipod touch on which to test the app. Are there likely to be bugs that dont expose themselves until I test it on the device? if i had a macbook, id take my code along with me and meet up with a friend or a stranger to test the app, but im working with a mac ...

iPad iPod app album flip effect

Does anyone know how to implement the album flip effect in the iPod application on iPad? I want to have this effect when presenting a modal view controller. ...

Instruments reporting false memory leaks?

I ran Instruments on my iPad app to check for leaks. It found several "leaks" where an object was being retained in a method: But these objects are released later in dealloc: Are these classified as false-positives? ...

iPhone NSURLConnection - delegates not working

Hello- I am trying to get an NSURLConnection to work in my app. I have followed apple's code almost exactly but it doesn't seem to work. The NSURLConnection is inside of a method called, downloadSave. This method runs properly through the end, and my log indicates, "Connection Exists" - however nothing happens after that as if none of th...

MPMoviePlayerController play error on iPad

Hello, I'm writing an app that will be playing videos alot using the MPMoviePlayerController on the iPad. The problem is the app was working fine and playing the videos when I stopped working about 15 hours ago but now the videos do not play. The MPMoviePlayerController will show the first frame from the video, and in full screen view ...

recreating the ipad search bar in the contacts app

In the contacts app, the search bar is shown with a white background and it blends in well with the surrounding UI. The only style choices in Interface Builder don't seem to show a way to host just the search bar, but instead includes chrome around it to make it look slightly 3d. Is there a way to get rid of the surrounding chrome and ...

iPhone in app purchase for charitable donations

Hello friends. I am developing an app for a registered charity in the United Kingdom and would like to touch base with you folks to see if any of you have experience with donations via in app purchases. The donations will likely consist of pre-defined amounts, such as: £1 £5 £10 £50 £100 My questions is: does Apple allow in app purc...