iphone

Is there a service for testing iPhone applications on different types of devices?

I have developed an iPhone app using an iPhone 3G. How can I test it on iPhone 3GS, iPad, etc.? Is there a service online that lets me access a 3GS or iPad remotely? ...

How to convert an NSString into an CGPathRef or path?

I guess that string drawing actually works with paths. Could I generate a path out of a string, which than can have a fill color and an outline color, and all this stuff? How would I convert an NSString into a path? ...

How to put Google adsense in iPhone application?

Hi all. I have a question about adsense. I want to put Google adsense in my application to be developed. But after testing my code, It wasn't shown. this is my code self.webView.userInteractionEnabled = NO; NSMutableString *manageableHTML = [[[NSMutableString alloc] init] autorelease]; [manageableHTML appendFormat:@"<html><head><...

Exception if there is IBOutlet in view controller created by initWithNibName

When I create a Navigation-based application, the second view controller is created with initWithNibName, if I add a label onto the second view and connect it with IBOutlet in the second view controller. After I navigate to the second view by clicking table cell, and then back to the root view, the application aborts - send message retai...

Image animation over CGContextDrawPDFPage

I have a pdf page displayed with CGContextDrawPDFPage in QuartzDemo sample application. I want to keep this page shown and have an image slide in from top over this page, just as it can be seen in the iBooks application. It's a book, the sliding image is a bookmark that slides in when you are about to close the book. I added this code...

Does UILabel have a horizontal padding?

Does UILabel have a horizontal padding? ...

Is it fine to put custom data in the apps Info.plist file?

For example, the website URL and other stuff that wants to be linked at runtime with the app? I find that info.plist is a good place for that. But maybe it is not allowed or causes trouble...? ...

IPhone SDK, Display an NSMutable array in Table view?

Hi, i have tryed to display my NSMutableArray in a Table View by following a tutorial. It has completley failed for some reason, i think i have a good idea why but cannot get around it, this is my code: - (void) scoreSystem { scoreArray = [[NSMutableArray alloc] init]; NSNumber *onescore = [NSNumber numberWithInteger:score]; [scoreArray...

Is there any serious logic behind the Xcode Organizer bug when screenshot's don't work?

I always try to make screenshots of running apps, with a 70% chance that it won't work. There is a green light showing my connected device. Most of the times I have to connect and disconnect like 10 times until it can make a screenshot. What causes this problem? Must I wait 10 minutes after build? Is there any logic behind this failure?...

Is there a way to draw UILabel diagonally?

How do you draw text on a diagonal? In other words, a horizontal UILabel that's rotated, say, 45 degrees? ...

Increase performance on iphone at pdf rendering

Hi! I have a UITableView, and in every cell there's displayed a UIImage created from a pdf. But now the performance is very bad. Here's my code I use to generate the UIImage from the PDF. Creating CGPDFDocumentRef and UIImageView (in cellForRowAtIndexPath method): ... CFURLRef pdfURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(...

Settings.bundle Not Appearing on Application Updates

I have an app that does not currently use a Setting.bundle to display setting in the iPhone Settings app. I am releasing an update that does. On a fresh install, the settings are added to the Setting App as expected, but upon updating from the old install, the bundle is not added. Is there some sort of trick to get the Settings App to...

Format a date from a string

Hey. I'm trying to format a date from a string into another format. For example: 2012-05-29 23:55:52 into 29/05 *newline* 2010. I just don't get the logics behind NSDate and NSDateFormatter, I think.. Any help will be appreciated. Thanks :) ...

Can Google App Engine be used for "check for updated" and download binary file web service?

Hi, I'm a Google App Engine newbie and would be grateful for any help. I have an iPhone app which sources data from an sqlite db stored localling on the device. I'd like to set up a Google App Engine web service which my iPhone client will talk to and check if there is a newer version of the sqlite database it needs to download. So iP...

Help developing a very simple iPad application

I need to develop a very simple iPad application that takes RSS feed of images that will be updated constantly and will display them and you can slide through them. As simple as that. Is there a way to get basic help on doing this, I am very new to iPhone/iPad development and would like help. To make the question clearer, I would appre...

How to render a CALayer with a different blending mode, like screen or multiply?

I have a UIImageView and want it to be displayed with a specific blend mode. I know the iPhone has different blend modes, and it's probably possible to do it with a lot of CG code...but maybe there's a nice way with the CALayer of UIImageView? ...

Failed to launch simulated application: iPhone Simulator failed to find the process ID of com.iAndApp.BlockPop.

Hello, I'm having this annoyning problem giving this message in the console: Failed to launch simulated application: iPhone Simulator failed to find the process ID of com.iAndApp.BlockPop. When trying to Build and Run, the application builds fine. The simulator starts but doesn't start the application. However, it manages to do somethi...

Need some guidelines on iPad animation programming

Hi, I'm creating an interactive e-book for the iPad. This book will contain multiple pages that will consist of a lot of animations (frame and motion animations), transitions,... I was wondering what my development options are, should I use OpenGL, Quartz,...? I've use UIImageView.animationImages before and found that it had really bad ...

How to make a view which covers whe whole screen, including the status bar?

I want to make an overlay which is partially transparent, and covers the entire screen including the status bar. I've seen that the folks at tapbots do exactly that. So it must be possible somehow. Status bar should still be visible! ...

Modifying UINavigation Bar Buttons in SubViews

I'm having trouble trying to modify the navigation bar in the subview portion of my application. self.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(add_Clicked:)] autorelease]; I have no issues modifying the navigation bar in any of my...