iphone

How to copy a XIB to another project?

Simple. I have two projects in Xcode. In one of them I made a .xib file and I want to copy it to another project, so as to save some time redoing it. I can't drag it to the other project, nor do copy/paste by command, nor copy/paste by the Edit menu. Any suggestions? ...

how to convert byte array or binary data into audio file

Hello I need help in my iphone application, I want to convert byte array or binary data into audio file.Please help me out and tell me any way so i con do it. ...

How to set LocalNotification repeat each two minutes?

Hello Everybody! I'm using LocalNotication to set schedule Alarm. atribute repeatInterval allow me to set repeat each minute, each hour.. But I want to set repeat each two minutes? How can i do? ...

How export core data store from iphone to Mac?

I can full iphone core data in iphone test at my phone But i need this databases for all app copies I need copy full databases to app folders How? ...

iPhone - App crashing on low memory warning, only after unloading viewcontroller?

So, my app is a set of stacked views, with a RootViewController as the 2nd view on the stack. The bottom-most view is a menu page, which loads either the rootview controller or an info view onto the stack, and from the rootview controller theres several more views. When I receive a low memory warning, my app does fine unless I try to p...

iphone simulator & videos

hi friendz, i just want to know is it possible to save video in iphone simulator iphone 3.1 if yes then how?? ...

AFOpenFlow coverFlow

Hello People, in the AFOpenFlow library are two lines that says that the coverFlow is in the middle of your iPhone - Screen: CGPoint newPosition; newPosition.x = halfScreenWidth + aCover.horizontalPosition; newPosition.y = halfScreenHeight + aCover.verticalPosition; But how could i change this line, that the coverFlow at the high r...

Audio Broadcasting Live to internet

I am trying to develop an application related to Live Audio Broadcasting on internet.I already seen application like Ustream and ipadio.My query is How they are creating a web address to each users..?Is it a server side coading..?any information please ...? I Implemented AQRecorder.mm class to my application for recording and taking as a...

How To Connect iPhone To Mac Over Local Area Network?

Hi, I'd like to write an app that has the ability to sync an iPhone with a Mac over a local area network (wireless or otherwise). It's sort of like what Pastebot Sync does: http://tapbots.com/software/pastebot/#sync Basically, I'll have to write two programs. One for the iPhone and another for the Mac. These two programs will have to b...

Application getting memory warning level 2 when loading webview iphone

Hi all, In my application I have a tableview which a couple of cells on click of which I launch webview but my application crashes giving me memory warning level 2 even before the webview loads. I have cleared most of the memory leaks. How should I respond to this memory warning? They say that I have to unload the unwanted views. I'm ...

Help required in converting iPhone App to iPad

Hi All, I am using the latest Xcode and i created a view based universal app and started building focusing on iPhone and now it is mandatory for me to put it in iPad. I didnt use the Interface builder in the development as more dynamic screen changes were expected from the beginning. In the code i have put all the screens with CGRECTMak...

running Video Recorder in background in iOS 4 iphone??

i am developing an application which requires recording a video in the background while the user is listening to music player in the application?? is it possible to run video recorder of iphone in the background mode automatically without prompting the user to press the record button?? ...

How to update a uilabel text

Hi in my project i need to update a label according to the events performed.Suppose am interacting with the server then the label should display following text 1.Connecting to the server 2.Received response from the server etc help me i struck here ...

Possible to leak memory even when you code doesnt contrain an alloc/copy/retain ?

Possible Duplicate: Memory Leak according to Instruments I ran instruments on my code and it says I am leaking memory from one of my methods where I use substringWithRange. I checked my method and I use a couple of calls like the one below. NSInteger theValue = [[data substringWithRange:NSMakeRange(i-rangeCount,rangeCount)] ...

How to really provide custom text drawing for UITextField?

I've overwritten this method: - (void)drawTextInRect:(CGRect)rect When the text field enters editing mode, it doesn't call this method anymore while the user is typing. I didn't find any other method of UITextField that would get called. Of course, this way it makes zero sense to customize UITextField text drawing. It looks so ugly ...

'NSInvalidArgumentException', reason: '*** -[NSPlaceholderString initWithFormat:locale:arguments:]: nil argument'

va_list arglist; if (!formatstring) return; va_start(arglist, formatstring); id outstring = [[[NSString alloc] initWithFormat:formatstring arguments:arglist] autorelease]; va_end(arglist); UIAlertView *av = [[[UIAlertView alloc] initWithTitle:outstring message:nil delegate:nil cancelButtonTitle:@"OK"otherButtonTitles:nil] autorelease];...

In App Purchase problem for non consumable products

Hi I am developing an application in which user can purchase any image he likes. For this i have implemented the in app purchase functionality as consumable products. That means if user purchase the same image again, he has to pay for that again. But apple rejected this application by saying that the product should be non-consumable in ...

How to disable text-autocorrection for an UITextField or keyboard?

I have a case where autocorrection NEVER makes any sense. It's incredibly annoying. Can I disable it for the UITextField? ...

Iphone: Restart AVAudioPlayer after user initiate a phone call

Well, all is in the title : I'm trying to use AVAudioPlayer in my app so that when a user initiate a call, the audio resume. As for now, audio resume correctly in case of incoming phone call (with use of AVAudioPlayerDelegate methods audioPlayerBeginInterruption & audioPlayerEndInterruption). When if I initiate a phone call, audioPlayer...

how to pass function name in url while using some web service in objective c?

hello, I am a beginner in i phone development.I am,right now, using web service to fetch data on my page.now the thing is that i have 2 functions in the same webpage. now i want to fetch data from only 1 function at the time when my url is passed. so how can i pass the argument? note that,my main purpose is to convert data into json fo...