iphone

UITableView Won't Scroll In Certain Conditions

My app has a set of categories. A category can have sub-categories. DirectoryCategoryController is the first screen, displaying all the top-level categories. Works great. When you tap a cell, if the category selected has sub-categories, I instantiate a new instance of DirectoryCategoryController and push it to display the sub-categories...

Experience with MKMapView Rotation

I have an MKMapView that I am considering rotating in order to more conveniently display a series of Annotations to my users. As of now I am planning on simply rotating the entire view with a CGAffineTransform, but I wanted to know if anyone had any experience with MKMapView rotation. Are there any pitfalls or "gotchas" that you came...

PHP return value from decoded object

Hi, Can someone please tell me where is the error in this code?, I use a mobile iphone application to call a php script tha will send information to apple. Apple then will return a JSON object containing several values in an associative array. I want to reach the 'status' value but every time I run the code in the phone, the php script...

Secure Remote Password Implementation for iPhone

I've been reading about Stanford's Secure Remote Password protocol, and it looks ideal for the sort of environment in which iPhone apps run. Unfortunately, I haven't been able to find a good Objective-C implementation of the protocol. Nor, as far as I can tell, do the crypto libraries in the SDK implement it. Does anyone know of such an...

Combining UITabBarController with UINavigationContoller

Hi, I am sure this is very simple, yet I am stuck... I have created an application and added UITabViewController (dragged in from the library in Interface Builder. My application has 3 different views, clicking on appropriate tab brings the different view. So far so good. I want to convert one of the views to be a UINavigationControlle...

How does one interact with OBJ-based 3D models on iPhone?

I have a few different OBJ files that I am able to parse and display. This code is based on Jeff LaMarche's The Start of a WaveFront OBJ File Loader Class. However, I need some means of detecting what coordinates I have selected within a displayed model. Usually there is one model displayed at a time but sometimes there will be two or mo...

Finding image name loaded into UIImage instance

How can I find out what the image name (usually file name?) loaded into a UIImage instance is? In this case, they were all initWithContentsOfFile:. ...

Rotating a marker on a map, uses a UIImage

I'd like to rotate an instance of the class RMMarker on the map of my iPhone app, to the current bearing the person is heading. The RMMarker uses a UIImage , and it's a little blue arrow. If RMMarkers used a UIImageView, rotating wouldbe a piece of cake, because I would use CGAffineTransformMakeRotation. But RMMarker's use UIIMages, so ...

to activate mail application which is in iphone like safari,Maps(built in apps) through iphone SDK?

to activate mail application which is in iphone like safari,Maps(built in apps) through iphone SDK? but i have seen in stack overflow like MailComposerViewController in apple samples. they are sending email within iphone application project.but i want to quit project and also to enable built in email application which is in iphone ..?an...

how to update iphone Simulator and Device to 3.1?

Hi, I have Xcode version 3.1.3 and in that Simulator and Device is supported till 3.0. I want to update the Simulator and Device for 3.1.After that i will be able to put my data from Xcode to My Real Device OS 3.1. how to update from 3.0 to 3.1 in Xcode in Mac mini? If any body has any resolution or any other way ,which would apprecia...

iPhone-SDK: How to make iPhone format website?

Is it possible to make my own website as iPhone friendly format when user launches my website in an iPhone browser? Currently if i launch my website in iPhone, it doesn't look more readable and i need to zoom it to see clearly. If i want to provide my website link will be more clear and readable with bold fonts and buttons ( moreover it ...

Memory issue in iPhone OS

I'm facing some sort of memory related issue I cannot figure out. In a summary view, I'm creating a tableview populated by an array (sectionArray) which in turn is loaded from a core data repository. This array of NSManaged objects is used to assign values to a custom UITableViewCell which has two labels: title and description. When ...

UITextField Cursor problem

Hi, I am creating a sample web application on my iphone... In that application the main page is login page....Users enter their user name and password in the textfield(UITextField) ,it will verified by program. My problem is I want to move cursor from One uitextfield to another uitextfield using tab key pressed in the keyboard (Like an ...

How can you tell when the animation finishes for deleteRowsAtIndexPaths:withRowAnimation?

Or maybe I just have to use an NSTimer and guess? ...

SQLite Prepare Failed: database disk image is malformed iphone simulator SQLite ?

Please help ! while i start app in simulator it fires "SQLite Prepare Failed: database disk image is malformed" in i have a .db file which i have rebuild thrice. What can cause this ? Any solutions ? ...

Get directory contents in date modified order

Is there an method to get the contents of a folder in a particular order? I'd like an array of file attribute dictionaries (or just file names) ordered by date modified. Right now, I'm doing it this way: get an array with the file names get the attributes of each file store the file's path and modified date in a dictionary with the d...

to switch over the view controller problem?

I am using the following code: - (void)flip { MailComposerViewController *mailView = [[MailComposerViewController alloc] init]; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:2.0]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:window ...

Moving Image 360 Degree

Hello, How can we Move an Image 360 Degree from the starting point to the ending point? Moving Image 360 Degree? ...

Apple Push Notification Service

For,Apple Push Notification Service Is it Possible register a device at run time if it is not registered???????? ...

GUI Update Synch Issues

I am writing a program that displays to a console-like UITextView different events generated by my AudioSession and AudioQueues. For instance, when I detect that my audio route has changed, I just want a quickie message displayed on the screen on my iPhone that this happened. Unfortunately, I believe I am getting into some race conditi...