iphone

Is the list of Apps on my iphone available for reuse in a different display?

I have an idea to use the apps on my iphone as a list for a different way to launch the program. But I have no idea if I can see the apps in something I can display? Is this possible? If it is possible, can I launch the listed app from my app? What do I need to access to get this done? ...

Web image display in iPhone app

I am new to developing on the iPhone so am sorry if this is an easy question, but it has had me stumped for a little while. Basically the app displays data retrieved from an XML feed. In that feed is an element that contains the path to an image. eg http://www.myserver.com/myimage.jpeg. I want to be able to display that image in the li...

iPhone (Xcode) interface builder resources

Hi I am looking for resources (especially video) to show how to use the Xcode interface builder properly for iPhone development. For some reason it just doesn't click how everything fits together and how this should be used properly. Thanks Stephen ...

Stop UIWebView from "bouncing" vertically ?

Hi there; Does anyone know how to stop a UIWebView from bouncing vertically? I mean when a user touches their iphone screen, drags their finger downwards, and the webview shows a blank spot above the web page I had loaded? I've looked at the following possible solutions, but none of them worked for me: http://www.iphonedevsdk.com/foru...

How to enable NSDebugEnabled/NSEnableAutoreleasePool on iPhone

There are environment variables you can set to help debug memory issues on the Mac, but how do you set the environment variables or enable these flags described in NSDebug.h for iPhone development? NAME OF ENV. VARIABLE DEFAULT SET TO... NSDebugEnabled NO "YES" NSZombieEnabled ...

UINavigationController only in first XIB. Apple's EditbleDetailView

So, In our appDelegate we're all used to creating a uinavigationcontroller outlet and linking it to a uinavigationcontroller in the XIB. However in subsequent viewcontrollers I can only add uibarbuttonitems programatically by accessing the uinavigationcontroller. Is there a way to add buttons to applications uinavigationcontroller in th...

Take snapshot of view / WebView programmatically

Hello, I want to take a snapshot of a view (WebView) or, if that is not possible, the whole screen, so I can save it into the user's photo gallery. I was wondering if this is possible. Thank you very much, Isaac Waller http://www.isaacwaller.com/ ...

Internal versioning for iphone apps

Hello, Does anyone have any suggestions as to how to version an iphone application aside from using the "Bundle Version" and "Bundle Version short string". I'm finding difficulty relying on these values to version control my application b/c I have multiple variations (lite, paid) of the same app. Also the current implementation of itunes...

iPhone pathForResource:ofType:inDirectory: bug ?

Hi all, I try to manipulate file in sub directory in my project root directory. I have folder with name "Basic Usage HTML" and i try this code: [NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:@"Basic Usage HTML" ]isDirectory:YES] ] And it's return "nil st...

PVR textures versus PNG in OpenGL ES

I'm developing a 2D application for the iPhone that renders lots of textures. Most of them are loaded from PNG files with alpha transparency at the moment. As a test I've been playing around with PVR-testures as well to see if there is any performance difference. The PNG-textures are loaded with the Texture2D class that came with the cr...

What open source Cocoa/Cocoa Touch Frameworks are out there?

I just found the Omni Group's frameworks they make available for use under a modified MIT License: http://www.omnigroup.com/developer/ The OmniDataObjects framework seems especially useful, since there is no Core Data for the iPhone. I am new to the Cocoa platform, and don't know what other useful frameworks are out there. What framew...

Iphone, Obtaining a List of countries in an NSArray

I have a menu that let's a user select a country. Exactly like that in the contacts.app country menu within the address field. Does anyone know a simple way of getting a list of countries? I have used NSLocale to generate an array of countries but it's only the country codes unfortunately and not the human readable equivalent. I don't ...

iPhone: Responding to user events

iPhone developer newbie question: I'm looking to have my application perform an action when a user stops listening to a track on their iPhone (i.e. presses the stop button). Is it possible to hook into these kind of events (play / pause / stop etc)? If so, which API would I use? Regards, Andy. ...

How do you implement swipe-able image stacks like the Photo app using the iPhone SDK?

I would like to take a stack of images (or potentially an array of URLs to download images) and display them in full screen, one at a time, using user swipes to smoothly animate the next image in the stack, using the iPhone SDK. Apple's Photo.app seems to do this. Additionally, if the image has not been retrieved yet, I'd like to display...

iPhone SDK: After a certain number of characters entered, the animation just won't load...

Okay, this is the code: [lblMessage setText: txtEnter.text]; [lblMessage sizeToFit]; scrollingTextView.contentSize = lblMessage.frame.size; float width = (lblMessage.frame.size.width) + (480); [UIView beginAnimations:@"pan" context:nil]; [UIView setAnimationDuration:durationValue]; [UIView setAnimationRepeatCount:5]; scrollingTextView...

Minimum spec laptop for iPhone development?

Hi all, I'm looking into iPhone development. Most likely I'd be working on the move, so need a laptop to develop on. What would be the minimum spec laptop I could use to develop for the iPhone? Most likely the development would include OpenGL work. Thanks. ...

How to change the text color on UINavigationBar button items

I've got a UINavigationController and i've changed it to white using the Tint property of the navigation bar in Interface Builder. But the text in buttons and the title is still the default color, white, and so gets lost against the white background. Anyone know how to work around this? ...

How do I add a third party Framework to iPhone project?

I am trying to use the PLDatabase framework in my iPhone app. I've added the framework to my Xcode project. However, when I run my app, it crashes with the following error: dyld: Library not loaded: @loader_path/../Frameworks/PlausibleDatabase.framework/Versions/A/PlausibleDatabase Referenced from: /Users/todd/Library/Application Supp...

iPhone Multiple Columns in UITableView

Hi, I have multiple rows and columns of data. But iPhone UITableView contains only single column and multiple rows. How do I display my multi column data following Apple's Human Interface Guidelines? Any ideas? ...

CGContextDrawImage draws image upside down when passed UIImage.CGImage

Does anyone know why CGContextDrawImage would be drawing my image upside down? I am loading an image in from my application: UIImage *image = [UIImage imageNamed:@"testImage.png"]; And then simply asking core graphics to draw it to my context: CGContextDrawImage(context, CGRectMake(0, 0, 145, 15), image.CGImage); It renders in the ...