iphone

iPhone external video playback from an app

I know the iPhone can play video on an external screen if you have the Apple component output cable. I also know you can write an app that plays video. Is there a way to put those two things together and write an app that will play video specifically on an external screen? ...

Where is my application binary in XCode?

I've built an app for the iTunes store. However, being a noob to the platform, I can't figure out how to submit the app. Where is the actual binary that I need to submit to the iTunes store? What folder does it get built in? ...

Registering a Notification in iPhone SDK 3.0

Hi, In iPhone SDK 3.0, I would like to register for a notification, which would alert my application when a certain time is reached. Is it possible? Thanks ...

How do you code two different tabbars in one iPhone App?

My app requires one set of tabs on the initial view, the last tab item is reserved for an in-app purchase once the user selects. However, once the user makes the in-app purchase I would like a new set of tabs to appear. I would like for the user to be able to switch back and forward between the free part of the app and the in-app purchas...

UITableView's cellForRowAtIndexPath is not getting called after low memory warning

Hi all I am new to COCOA and Objective C. I am working on an application which have two controllers with one table view in each, clicking an item form this table will lead to another controller to be pushed to the stack. All was working fine till i started handling low memory warning in app delegate. What i am doing in app delegate's ap...

How to hide the keyboard while using TableView in Iphone?

Hi, In my application I have textfield and while inserting any values in it it is displaying according values to the tableview as the no. of rows. I want that when I scroll on the Tableview with having so many filled rows ,the keyboard must be hidden at the time of scrolling. I have search on the net,but unable to find out the solutio...

Change a Dictionary key off a UITableView

I have a simple UITableView (with 1 section), my dataSource is a NSMutableArray of NSMutableDictionaries. I'm trying to change the value of one of the keys inside a dictionnary, but I'm getting the "mutable method sent to immutable object". [[mutableArray objectAtIndex:0] setValue:@"hello" forKey:@"test"]; Like I said, both the array ...

How can I draw a text in my view?

How can I draw a text in drawRect? Thanks in advance ...

Calling JavaScript function from Objective c

Hi, I am developing an application for iphone.I need to call a javascript function into my objective c class .Is that possible?? ...

How do I resize and save an image on the iPhone?

Hi, I want to save the image that is pinched to different size from original size. How could I save it? How should I write the code ? ...

Why sometimes I can't get the newest build from iPhone?

I am writing an iPhone program, when I run it on the simulator, everything is ok. But when I want to run it on the device, sometimes I can't get the latest build, like I modified some code and build it, it runs, but gave me an old version. Is there anything I did wrong? FYI I am using a library for my code, it will build out a static li...

How to hide the "back" button in UINavigactionController?

Do you know how to hide the 'back' button in a UINavigationController? Also, how to show it back, but I guess that's very similar to hiding it... Just like the mail application does on the iPhone when you hit 'Edit' while viewing emails. ...

soap webservices in iphone app , how ?

Hello , I am currently working on an iphone app which requires me to use soap webservices , so that i can load data like customer info in my iphone app . If anyone knows how to so so then please tell me or anyone knows where are the tutorials or examples then redirect me . ...

How to remove the "white reflection" on the application icon?

Hi this is an iPhone objective C question. When I set the icon file for the app, say, icon.png. When it is shown on the phone, a white reflection effect is automatically added on the icon.png Is there any way to remove te reflection effect? Cause I can see that there are apps without the white reflection effect on the icons ...

Reliably opening App Store links from a UIWebView

Hey guys, I have an app that will display web pages within a UIWebView. The pages it shows may contain links to other iPhone apps on the App Store. In a normal browser on a desktop computer, clicking these App Store links would take me through a number of URL redirects and eventually end up opening iTunes and taking me to the page for ...

Keyboard not dissmissing

In my view controller i added a text field as below. txt1 = [[UITextField alloc]initWithFrame:CGRectMake(10, 10, 70, 20)]; txt1.delegate = self; txt1.borderStyle = UITextBorderStyleRoundedRect; [self.view addSubview:txt1]; [txt1 release]; I set UITextFieldDelegate in .h file. I write -(BOOL)textFieldShouldReturn:(UITextField *)textF...

How to add extra cells in a UITableView in editing mode?

Do you know how to have some cells appear in a table view after the table goes into editing mode? Just like the "Contacts" iPhone app does when you edit a contact. Maybe I'm wrong, but when editing the contacts, it looks like a grouped UITableView is used. I tried this: [self.tableView setEditing:YES animated:YES]; [self.tableView ins...

iPhone SDK: Optimize UIModalTransitionStyleFlipHorizontal

I want to flip my new ModalView with very high performance, but the new View has a lot of subviews so the performance of the Flip-Effect is very bad. Actually i do it with: [controller setModalTransitionStyle:UIModalTransitionStyleFlipHorizontal]; [self presentModalViewController:backSideController animated:YES]; I also tried it with ...

SetTitle for buttons in iPhone SDK > 3.0

Hi Guys, Today I have installed iPhone SDK 3.1 along with appropriate XCode. The thing that happened is that all of my buttons have lost their titles. Here is my code for button creation: UIButton *dateButton = [[UIButton buttonWithType:UIButtonTypeRoundedRect] initWithFrame:CGRectMake(240.0, 57.0, 60.0, 30.0)]; [dateButton setTitle:...

Multithreaded use of Core Data (NSOperationQueue and NSManagedObjectContext)

In Apple's Core Data documentation for Multi-Threading with Core Data, they list the preferred method for thread safety as using a seperate NSManagedObjectContext per thread, with a shared NSPersistentStoreCoordinator. If I have a number of NSOperations running one after the other on an NSOperationQueue, will there be a large overhead c...