iphone

how to change background color in UIPICkerview?

i want to change background color in UIPickerView.How it possible?please give me idea. ...

How to stream videos to iPhone/Blackberry?

I have a site that offers video clips, and I have a couple of thousand mobile users every day, so I wanted to offer the video library in a format that would be viewable from the iphone and blackberry devices. Can ffmpeg, or any other tool convert videos to a format that will stream in the same fashion youtube does for the mentioned abo...

How to learn how to program?

I would like to know the best methods for learning to program. I've been directed towards the Python language because I was told it is good for beginners. I ultimately want to make games for OS X/iPhone. My problem is that I understand what I read but I can't apply my knowledge to anything. I am a programming noob. Should I stick with ...

get iphone ID in web app

i want to create a web-app for the iphone and i need to get the ID of the device (instead of username/password). can this be done? ...

Source of a malloc error when releasing a CGImage on iPhone OS 3.0?

I've identified a bug while developing against the iPhone OS 3.0 SDK. Basically, if I create a CGImage from a bitmap image context, I get the following error when I release it: malloc: *** error for object 0x1045000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Here's the relevant code: CG...

progressview to represent the playback-iphone

I have created an application which plays music files ia avaudioplayer. I need to show a progressview in the view to represent the play back of the song. Start from zero and end at the end of the song. How to implement that??? pls help... ...

Is it necessary to do preloading when using UIViewAnimationTransition (Cocoa Touch)

Hi Im using some transitions(Flip) to switch to my "settings/about" view in my iPhone app. I initiate the transition like this: SettingsAboutViewController *settingsView = [[SettingsAboutViewController alloc] init]; [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:1.0]; [UIView setAnimationTransition:UIViewAn...

H264 Encoders other than ffmpeg x264

The iPhone app I am working on captures images in series within certain user-defined time interval, I am looking for a way to combine these images into H264 encoded videos. I have done some research on Google, it looks like I will have to use something like ffmpeg/mencoder on iPhone? (Also found someone ported ffmpeg to iPhone, ffmpeg4iP...

iPhone Development: Grabbing selected/highlighted text on UIWebView

Greetings, Please kindly advice on how possibly I can get the selected text on UIWebVIew. I went on to search on how to deal with selected/highlighted text and found the following: Selection and Menu Management To copy or cut something in a view, that “something” must be selected. It can be a range of text, an image, a URL, ...

How can we pause adding annotations while MKMapView is animating or moving. [iPhone SDK 3]

I have a MKMapView and another class has a thread adding annotations to the MKMapView. But the problem is, MKMapView.annotations is nonatomic. So while the other class is adding annotations.... It looks OK if user do not move the map's visible area. But if you keep moving it, and the other class was adding annotations to the map at tha...

Traceroute in Objective-C

Does anyone know of a code sample in objective-c for traceroute? NOTE- I am looking for a code implementation of traceroute/tcptraceroute, NOT a utility. ...

Passing NSManagedObjectContext to Views with Interface Builder

I starte iPhone Development five days ago. To learn some techniques I created a view based demo application. Now I want to integrate Core Data in my app and run into a typical mvc "problem": Passing data between view. I read several postings here on stackoverflow (i.e. this one) but they doesn't cover the case if somebody wants you use...

How can I get a limited no of friends from facebook using fbconnect and FQL

How can I get a limited no of friends from facebook using fbconnect and FQL ...

how to convert MID file to wav file?

I want to play background music in my game application using AVAudio player.I am using .MDI file.This file is not playing in AVAudio player.So i want to convert this .MDi file to wav file.IS it possible? ...

How to update a label of a custom view within a scroll view using a timer

Hi everyone, Please help! I define a custom UIControl with three labels, then on the viewDidLoad function of the main view controller, I repeatedly add multiple instances of that UIControl into the scroll view. I need one of the label within the UIControl to be updated with new value each second. I have a question, how to clear the pr...

Core Animation: How to make a page flipping transition?

I want to create a page flipping transition for an iPhone app like the one in notes. Basically when you go to a new view the bottom or top of the page curls like if you were turning the page of a book. Anyone know of a tutorial on how to do this? ...

Multiview Application

I am trying to develop an engineering program. My first view has a textfield where the user is required to enter "e" or "s", for the units to be used(english or si), which is stored in a variable es. The AppDelegate shows this first view through applicationDidFinishLaunching: method. I have a Objective-C source file, where I am writing m...

Dynamically load data into a List Controller in Dashcode? (Via JSON)

How can you do this? ...

Adding a category to NSArray

I added a category to NSArray with a helper method for sorting. My unit tests all pass, but when running the app in the simulator it blows up. Could this be because of the NSMutableArray / NSCFArray class cluster stuff? Here is the error: 'NSInvalidArgumentException', reason: '* -[NSCFArray sortBySequenceAsc]: unrecognized selector se...

Updated iPhone app not overwriting old version -- why?

When we create a new version of one of our iPhone apps and load it to a device, it shows up as an additional icon instead of replacing/overwriting the old one. Touching the old icon brings up the old version and touching the new icon brings up the new one. This is using ad hoc versions on a debug device -- we have not submitted the upd...