iphone

In the UIImagePickerController, is it possible to get the NSURL value for UIImagePickerControllerMediaURL?

When the user selects an image from the picker controller, I'm calling the delegate: (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info in the dictionary info, the value for key UIImagePickerControllerMediaURL is NULL. Am I missing something here? ...

How to find the current location of iphone and update it.

I am new to iphone development.I am creating a map application. I have created tool bar with a button below the mapview.When i click the button it should display a alert view showing the current location and asking to update. on clicking OK in alert view should open my map with the current location and CANCEL to close the alert view.Th...

iPhone: Setting Navigation Bar Title

Hey all. I'm still pretty new to iPhone development, and I'm having a bit of trouble figuring out how to change the title of my Navigation Bar. On another question on this site somebody recommended using : viewController.title = @"title text"; but that isn't working for me...Do I need to add a UINavigationController to accomplish th...

Iphone: Three20 slow on displaying thumnails for local images

I have been trying to display local images using three20 library. But, it is extremely slow in displaying thumbnails of large images. Can anyone please please provide me with some hint on how I can optimize it to generate the thumbnails faster? ...

how do i add a new row on the last row of uitableview

Instead of having a '+' sign to insert a new row..is there a way whereby i can insert a new row on my existing table?meaning to display the "Insert new row" on the last row of my uitableview..and also is it possible to edit the string to different name rather then just "Insert new row". ...

UINavigationItem title label set width?

In my UIViewController i set my title dynamically so i do not know the length of the string that will be shown in the navigation bar and because of that i have the current situation: is there any way to set the width of the label that displays the title in the navigation bar? or should i think of a with, compare the text length to it a...

Using my unique marker within NyARToolkit

I've just implemented a version of the ported NyARToolkit for the iphone and I'm trying to use my own marker. I've created the marker and added it to my project file and then changed all instances of patt.hiro to be patt.mymarker. However it's still trying to detect the old hiro pattern. I've noticed there's a file being used: #define...

Program received signal: “0”. warning: check_safe_call: could not restore current frame

Hi I am getting this error on my application Program received signal: “0”. warning: check_safe_call: could not restore current frame I had also enabled Zombie but its not showing any info about memory corruption in one particular case and showing above error. Please tell me why i am getting this error and how to resolve this. Tha...

iPhone app with remember last user action .

hi i want create an application and my app remember last user action ,, it means user find himself in the same page as he was last time he ran the application . how could implement that ? ...

how many fps can iPhone's UIGetScreenImage() actually do?

Now that Apple is officially allowing UIGetScreenImage() to be used in iPhone apps, I've seen a number of blogs saying that this "opens the floodgates" for video capture on iPhones, including older models. But I've also seen blogs that say the fastest frame rate they can get with UIGetScreenImage() is like 6 FPS. Can anyone share specif...

Which iPhone UI Element is the Mail using?

How can I create the textfield that can accept image and text like the mail apps does? ...

How to update data in a different ViewController and show it in the parent ?

Hi all, I asked a similar question a while back, but I'm clearly missing something. I have 2 view controllers - one that displays the data and one where data is edited. In my first controller, I create my object: thing = [NSEntityDescription insertNewObjectForEntityForName:@"Thing" inManagedObjectContext:managedObjectContext]; thing....

UITableView editable (rearrangeable) without cells beeing deletable...

Hi there. I was wondering if there is a way to make a UITableView editable in a way where the user is able to rearrange (move) individual TableViewCells, BUT without the "Remove-Cell"-Feature to appear. thank you for your help sam ...

iPhone SDK - How to display a photo taken with the camera inside a UINavigationController?

This is my code so far: /* class: myViewController @interface myViewController: UIViewController <UIImagePickerControllerDelegate, UINavigationControllerDelegate> */ - (IBAction) getPicture { UIImagePickerController * picker = [[UIImagePickerController alloc] init]; picker.delegate = self; picker.sourceType = UI...

iPhone Developer Program registration for UK trading partnership

I have been looking into this for a long time and have found no definitive answer. I can't be the only person to have faced this problem and am wondering how you guys proceeded in similar cases. I'm part of a partnership, based in the UK, trading as, lets say, "ABCD iPhone Apps" (legally, a perfectly legitimate way of doing business). I...

UIImageView Animation Stopping in UITableView

I have a UIImageView inside of a UITableViewCell. The UIImageView animates. For some odd reason, when the cell goes out of view, the animation stops. The UIImageView is never initialized again and the UIImageView is never explicitly told to - (void)stopAnimating; so I'm not sure why it's stopping. Here's the interesting parts of my cell...

Converting floats to NSData and back in Objective-C

Hi all, In an iphone application, I'm looking to convert a float to NSData for it to be sent over bluetooth and then converted back again when it's received. I have the bluetooth part working fine, but when I use this to convert to NSData: NSData *data = [[NSData alloc]init]; float z = 9.8574; // Get the float value, 9.8574 is just an...

How to load the map with the obtained current location in iphone?

I am new to iphone development.I am creating a map application.I have toolbar below the mapview with a button on it.On clicking the button it displays as an alert to load the current location.In my button click even i hava given code to find current location -(IBAction) gosearch : (id) sender{ self.locationManager = [[[CLLocationManage...

Is it possible to change the Font type in UITableView?

For example, how would I set it to Tahoma? ...

Weird UISegmentedControl Problem!!!

Hi everyone! In my app, one if my goals is to use UISegmentedControl to choose the bg color of another screen. The problem is that I have tried to have it so that whenever you went to the options screen, the Segmented Control will remember the option you picked when you left the screen. It only remembers ONE OUT OF THE 5 OPTIONS!!! He...