iphone

How to pass paramerters to custom selector from a NSTimer object?

How to use the userInfo in + (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo; I want to send certain parameters to my custom selector. ...

How to seek forward and backward in audio queue with code speakhere?

I am using Apple's sample code "SpeakHere" . I need to do some changes for Seeking Audio file forward/Backward while playing using UISlider. Is it feasible to do that? How should I start ? Also i want my .caf file to be recorded and play in mp3 format? is it feasible and how can i do that? please help. thanks in advance ...

develop speech to text conversion api for mobile os

Hi Folks develop one app speech to text conversion on mobile phones.i want to develop it for supporting all mobile(android,iphone,wince,windows 7,webos).for that i would like to develop one api. is there any way develop api for supporting all above os.Please Let me know and suggest me.any other way Thanks in advance aSwan ...

problem in passing data when pop from one view to another view controller in iphone

hello I am having a application in which one view controller is pushed and when we pop from the pushed controller i do not get the value for the variable For eg consider there is A controller i n which i am havinh the int variable named Component now i push to B Controller on click event of button from A Controller ,When we are pus...

Iphone 3Gs And Iphone 3

Hi All, I want my app to be installed on only iPhone 3Gs and iPhone 4, running iOS 4.0 but not on iPhone 3. I did that by adding a new field in UIRequiredDeviceCapabilities in info.plist file called multitasking but when I submitted the file I got an email from apple saying that I used an invalid key in info.plist for the field UIRequir...

How to resize & scroll image within a fixed region on iPad's Safari?

There are very good demos show a fixed header on top & scrollable contents below in mobile Safari(see: cubiq.org/dropbox/iphonescroll.html & doctyper.com/stuff/iphone/fixed/). But if we also want to scale image around within lower part. How can we do this? ...

How to check custom event added in the iPhone Calendar using iphone simulator

Hi, I have founded the code, Programmatically added custom event in the iPhone Calendar,using event kit framework. EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *event = [EKEvent eventWithEventStore:eventStore]; event.title = @"EVENT TITLE"; event.startDate = [[NSDate alloc] init]; event.endDate = [[NSDate a...

How to Extract String?

/common_subscriber/?content_id=4552823&wapdld=8695411&media_type=audio&id_class=3&section=ms_admin%2Fnewjson%2Findex__du&media_format=mobile_audio_ring_real I want to extract "wapdld=8695411" and save it in a variable. Please tell me . Help need urgently ...

Maximum size of temporary files.

Hello everyone. I use many temporary files in my program. It's for programmable swap(because iOS doesn't have it). It's normal if size of all this files is around ~250 Mb? Thanks in advance. ...

Creating custom button with multiple labels

Is it possible to create a button with multiple labels? e.g. imageView, textLabel and detailTextLabel. I don't think it's possible using interface builder, but maybe we can do it programmatically by adding the UIImage and UILabels to button's view. If i do write a custom UIButton class, what's the best way to handle the state changes? ...

how to get images from XML file

hi i am new to iPhone.What i need is i have to get images from local XML file and local folder that contain images.I am able to get string in XML file ,But i did n't how to get images through XML file please post some code or link.Thank u in advance ...

Can i use MPMoviePlayerController and MPMusicPlayerController at the same time ?

Hi, all ! Can I play sound by MPMusicPlayerController (from iPod) and video by MPMoviePlayerController at the same time? I need change tracks sometime (use a lot of tracks for any video). My video has no sound. When i run playing track it is playing good, but when i loading video and [MPMoviePlayerController play], then video is playin...

How to send images to a web service?

Hey, can anyone post a sample code demonstrating how can images (jpeg, png) be posted on a local web service. Sayeed ...

iPhone UIView resources

Hi There, I have been looking for little more deeply UIView introduction resources, such as e-book, video or tutorials. Positioning, subclassing, frame, bouds, subviews, creating programmatically, loading from xib, both, etc. I didn't find good resource about it, I would like to hear suggestions ? Regards ...

Speed up iPhone application when consuming web service

I have an iPhone application , which is consuming a Soap web service. When am sending a URLrequest, the application is getting slow.My application is a TabBarApplication.From a started calling web-service to parsing the received data, i can't select Tabs in UITabbarcontroller. How to speed my iPhone app Tabbarcontroller to get selected e...

Does using the interface builder for iPhone development considered a good practice?

I am coming from the .net world where too much use of the Forms designer in WinForms (not to mention WebForms) can cause your code to be an unmaintainable ball of mud. I wanted know how the Interface Builder is considered in the iPhone world in that manner. Can someone please save me the time and point me to the best practices of iPhon...

Rotated UIPicker displaying labels low-res?

I have been working on a horizontal UIPicker, and I've finally gotten the picker and the labels on the picker to both display rotated. But, the issue I'm noticing now is that the labels display in low res with very visible pixelation. Playing with the font values seems to have no effect on the pixelation. I've included my code: //in vie...

how to get json data from iphone post request

Hi everyone, I am developing iphone App using JSON framework, I am calling a PHP script to update MySQL database on local server. Using these code: NSString *jsonString = [sendData JSONRepresentation]; NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init]; NSString*post = [NSString stringWithFormat:@"&json=%@", jsonString]; ...

question regarding state maintenance.

I 'm new in state maintenance. I want to know different methods and examples of it for state maintenance of my project having a multiple views, ...

How to have conditional code depending on active configuration?

I want to have conditional code in my iPhone app depending on configuration (Debug/Release/Distribution). I don’t think Xcode communicates the project configuration somehow to my code, e.g there isn’t a macro or such available, is there? The best solution I’ve come up with so far: in project settings, for each configuration, define a fl...