iphone

iphone: making a new UIImage from data from an XML document

Hi all, I'm prototyping a video streaming client for the iphone that gets it's content from a webserver written in C#. The server outputs an XML document where the jpg data for the image is stored in one of the tags (). It writes it out using WriteBase64. On the iPhone, I'm using libxml to parse the xml and storing the bytes for th...

iPhone: Failed to launch simulated application: Unknown error.

This is a new iPhone project, only 1 target (different from this question) On build we get: Failed to launch simulated application: Unknown error. The google again gives us nothing, lots of people have encountered this and there are lots of crazy ideas to try "oh clean the build", "clear the cache", "twiddle this flag" and none of th...

Has anyone implemented the PayPal API through a native iPhone app?

It seems the only way to stay "in app" is to give them a UIWebView of the paypal mobile site and let them complete the transaction there, otherwise the user would need to use their API key. Does this sound right and has anyone got or seen any sample code? I have to think this is a common piece of code. Thanks, Corey UPDATE: Will Appl...

What data type do I use for an integer in SOAP XML in Cocoa?

I imagine it is just an int, but I want to verify. Thanks Corey ...

Compiling an XML file into a binary

I want to parse and XML file in an iPhone app without going to disk for it. Can I do this? How? I have included a TXT helpfile in an app using MSVC. I put the XML file in a Folder/Group named Resources in the project. I have the XML file in the proj directory. I right clicked on Resources folder and selected add -> Existing File. I righ...

Multiple-line cursor movements in XCode

I'd like to map a key to move the cursor in the XCode up by ten lines. Of course, I want another one to move down too. The key mapping would ideally be something like 'Control-Alt-P'. Is there a way to achieve this in XCode without resorting to Automator? Ashley has the answer below, the formatting was a little different as the pro...

UITableViewCell with image on the right?

Is there a way to set the UITableViewCell.image to display on the right hand side of the cell instead of the left? Or will I need to add a separate UIImageView on the right side of the cell layout? ...

iPhone Map Rendering

Hello, I'm with building a map application for iPhone, and I wanted to ask what the best way is for bringing maps from a website onto the iPhone. I want to fetch small images of size 80x80 and show them. This kind of activity might be achieved by using UIKit or OpenGL ES. Also if you can bring to my notice some kind of achievement and...

Access the BPM ID3 tag in iPhone OS 3.0

Is there any way to access the BPM (beats per minute) ID3 tag of a song on your iPod using the iPhone OS 3.0 SDK? I'm looking at https://developer.apple.com/iphone/prerelease/library/documentation/MediaPlayer/Reference/MPMediaItem_ClassReference/Reference/Reference.html and i don't see it: NSString const MPMediaItemPropertyPersistentI...

Is there a way to configure email account on iPhone from code?

Hi, I'm quite new in iPhone development. I'm interested to configure email account on iPhone from code. Is it possible? Is there any API in SDK to implement this? Thank in advance for your answers. Regards, M. Wolniewicz ...

simulating iphone on windows?

Is there any way to test my objective-c code on windows.. is there any ide like xcode for windows to develop iphone applications. ...

iPhone app Action Button

Hi, I need to add an action button in my iPhone application. When that one is clicked the UIActionSheet with buttons need to be popped up. Can any one tell me how to add an action button? - means is there any in built action button for iPhone app? or do we need to create a new button with image? Thanks in advance! ...

MPMoviePlayerController alternatives on iPhone?

Hi, I am looking for alternatives to the MPMoviePlayerController on the iPhone. As a video player its functionality is very limited. According to the class reference there is no way to get the current play back time or set a new time, for example. It's just play and stop. Are there any middleware solutions out there for iPhone video pl...

UITransitionView and UILayoutContainerView

What is UITransitionView? What is UILayoutContainerView? Will I get in trouble for adding subviews to them? They are the superviews of a UITableView which is inside of a UINavigationController which is inside of a UITabBarController. UITransitionView I got by asking for the superview of the table view. UILayoutContainerView I got by ...

UINavigationController Auto-Rotation to Landscape does not update UIView frame

I'm working on an application that operates entirely in landscape mode (UIStatusBarHidden=YES and UIInterfaceOrientation=UIInterfaceOrientationLandscapeRight). I'm using a NavigationController, with my rootViewController (MainViewController) setup like this: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfac...

Installing application on iphone it override on the last application

Hi to all When I am installing new application on iphone, this current application get override on the last application,so we can not maintain the previous application. Please help to solve this installation problem. ...

When Apple talks about "graphics state", do they mean the graphik I create or do they mean the settings I use?

They say, that there is a Stack that saves graphic states. Well, I am not sure what they mean by that term. Does the CGContextSaveGState save the current drawing I made, or does it save the drawing settings I currently have, like color, line width, font size, etc.? ...

iPhone SDK - load/save settings

I have the following two procedures defined in my AppDelegate. saveSettings and loadSettings. I am calling my loadSettings procedure in the AppDidFinishLaunching method, and I am calling the saveSettings procedure in my settings view, once the save button is clicked. Both methods seem to be called at the right time, the right number of ...

Strip Carriage Return in iPhone

I parse an XML file with objective-c for Iphone. After parsing the result string variable got an enter character. How can strip it off from the string. Thank to everybody. ...

Code Sign error after renewing my certificate

Hello, my certificate has just expired. I renewed it on Team section, then renew provisioning profile, and reinstall them on my keychain and xcode, and then I get this error : Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the login keychain What should I do ? Thanks a lot Th...