What are private APIs
What does Apple mean when they refer to private APIs? ...
What does Apple mean when they refer to private APIs? ...
Hi, I am having problems with my universal app. I have set the Base SDK to iPhone 3.2 and set the target to 3.1. I have moved the files that are using the UIPopoverController to their own files and they shouldn't be loaded when loading the app on the iPhone. Still, when I build my app I get the following error when I build and debug ...
Hello All, I have added a sub view on the screen. Now I want to disable the parent view's user interation. But when i do this using - GenreShelfViewController *gsvc = (GenreShelfViewController *) parent; [gsvc.view setUserInteractionEnabled:FALSE]; [gsvc release]; (I am doing this in subview's viewDidLoad method) Sub view also free...
Hi guys, so im having a UIViewController view with a UITableView. So the UIViewController class name is SelectionScreen. The UITableView class name is SelectionScreenTable. Picture: http://img717.imageshack.us/i/screenshot20100609atpm0.png/ I have declared a UITableView *selectionTable in SelectionScreen class and connected it to the x...
(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { NSLog(@"bla %@", [section count]); return [possessions count]; } Does anyone know how to implement a simple NSLog because I am getting an error. ...
Possible Duplicate: Is there a best coding style for indentations (same line, next line)? I noticed in Objective C that xcode automatically uses a strange position of braces: if (statement) { } whereas I am used to using: if (statement) { } it just makes it easier to read. Is it a matter of preference or is a standard t...
I have developed a game for iPhone using coco2d 0.99.3. I want it to work on iPad. I have the new images which are bigger in size and resolution than iPhone images. Every thing is fine, but I got the fps problem. In iphone simulator I used to get 50 - 60 fps and even in iPhone device I used to get 50 above fps. But, in ipad simulat...
Is it possible to set a minimum rotation value necessary for a UIRotationGestureRecognizer to transition into UIGestureRecognizerStateRecognized? I'm using multiple recognizers, and my UIRotationGestureRecognizer keeps getting called with a very small rotation (Between 1 and 15 degrees either direction) rather than my UIPinchGestureReco...
Hi, I am writing a game in cocos2d. In the iPad Simulator the application is running good. While I am running the application in the iPad. But it was crashing by giving the following message in terminal. I am using 2048x2048 CCSpriteSheets in my code. I used instruments tool there is sudden increase in memory to 32MB before crashing. I...
I am able to create a new application profile targeted for my iPad, however, when I convert from iPhone to "Universal" device, I am getting an error in signing. [BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'rfc1034identifier' could not be found Also note: I am able to run it in the simulat...
Hi, I need some information about using cocos2d in iPad. Can we use 2048x2048 sprite sheets ? I read in this form that we can use but with limitation not more than 3 or 4 sprite sheets. But, I have 10 animations in my game. maximum of 4 animations run at a time. Can we use the CCDirectors in AppDelegate in the same way as we use i...
Now, I'm developing on iPhone SDK3 and iPodTouch 2G. iPodTouch 2G can't do full function of iOS4. I want to change iPhone SDK4 development.In july, iPhone 4 and iPad will available in singapore. So, What should I buy iPad or iPhone 4 for iPhone SDK 4 ? What different between iPad API and iPhone 4 API ? How about market ? Can I write i...
Now that I installed SDK 3.2 for my iPad development, I need to build with the previous version for my old iTouch. Is this possible to switch or do I have to uninstall 3.2, install 3.1.x and re-install 3.2 in a "versioned" folder? ...
In iPad photos application, under "Places", you can see a map of where the photos are taken. When the user taps an annotation, a callout appears showing a stack of photos for that place. How can we achieve the same effect (bigger annotation callout with custom information) in our own iPad applications? Do we have to create a custom MKAn...
I have learned Apple has release CGPDF APIs in SDK 3.2 for drawing PDF context. What I understand from these APIs is that you can draw a PDF to a data object or a PDF file. You can then export it, may be, to your sandbox's directory OR add as an attachment in the mail. But I am not sure if we can use these APIs to read a PDF from app...
Hi, I have a small UIView that should appear always in the center of the screen. This works great for portrait mode but does not in landscape. To draw the UIView I use: myView.frame = CGRectMake((visibleArea.size.width - MY_VIEW_WIDTH) / 2, (visibleArea.size.height - MY_VIEW_HEIGHT) / 2, MY_VIEW_WIDTH, MY_VIEW_HEIGHT); myView.autoresi...
I have saved all my files using something like this NSString *fileName = [NSString stringWithFormat:@"%@.plist", myName]; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSString *appFile = [documentsDirectory stringByAppendingPath...
Hi all, I am trying to draw custom shapes in iPad application. I am using UIBezierPath for drawing which is available for 3.2 onwards. My question is whether it is good to use this class or should I go to the core graphics? Is there any difference between uibezierpath and core graphics drawing related to performance? ...
Hi All, Currently I am writing an iPad app. I am using a lot of images in this app around 40 MB of images! This app works fine in simulator but crashing on device. I think the problem is with memory. I wanted to know how much memory I can use on iPad? Thanks Saurabh ...
Is it normal for the imagepicker to take a while to load the photo album the first time and subsequent views are fast? ...