iphone

is it possible to use AVAudioRecorder alongwith MPMusicPlayerController?

Hello all, When a song from iPod chosen using MPMediaQuery is playing with MPMusicPlayerController, is it possible to record a clip of the song using AVAudioRecorder? ...

Tinting iPhone application screen red

I'm trying to place a red tint on all the screens of my iPhone application. I've experimented on a bitmap and found I get the effect I want by compositing a dark red color onto the screen image using Multiply (kCGBlendModeMultiply). So the question is how to efficiently do this in real time on the iPhone? One dumb way might be to grab...

XCode linker error : library not found for -lAdMobDevice

Hey Guys, I am trying to build lite version of my iPhone application using AdMob. I followed the guidelines here http://www.iphonedevsdk.com/forum/iphone-sdk-development/11358-creating-lite-version-app.html and created two different targets. In the lite version I added a macro called LITEVERSION which I am checking using #ifdef and doin...

resignFirstResponder not dismissing ASCII keyboard for UITextField

I have a UIViewController with 4 UITextFields, 3 of them use the NumberPad and 1 uses an ASCII keyboard. I can't get the ASCII keyboard to dismiss when the user touches a background button outside the text field. The background button works fine to dismiss the NumberPads but doesn't dismiss the ASCII keyboard. Yes, the ASCII keyboar...

iphone keyboard without textview

is it possible to bring up the keyboard in an iphone app without a textview? or will i have to have an invisible textview? if so, how do you programatically create a textview and then bring up the keyboard (without the user having to tap the textview)? the only examples i can find use interface builder.. ...

UITableView doesn't reuse cells?

Good morning all. I'm having a small crisis with table views in a 3.1 app. I have a table view with some complex tableViewCells being loaded from a nib, and they're not being reused. Feeling it might have something to do with loading them from a nib, I decided to try a simple test project to see if cells are being reused using nothing...

Is it possible to send a file attachment (txt) from iphone via email?

I saw two related questions about this topic - one has an old link in an answer and this one doesn't have an answer (right now). (I am new to iphone development) I want to create a file from my app, then send that file as an attachment. Is this possible? I'm not looking for someone to send me teh codez - just SPECIFIC references and ...

Number of days in given year using iPhone SDK?

I'm trying to get the number of days in a current year. When I try the solution on http://stackoverflow.com/questions/1179945/number-of-days-in-the-current-month-using-iphone-sdk, and replace NSMonthCalendarUnit by NSYearCalendarUnit, I still get the number of days for that month. Does anyone know how I should do this? Thanks in advan...

how can i rotate my any view such as UIView,UITableview,UIScrollview from portrait to landscape through code??

thanks and welcome for reply ...

UIScrollview autorotation

Is it possible to scroll view from vertically to horizontally in portrait to landscape mode through code in UIScrollview? ...

Registering an event/notification for location and speed in iPhone

iPhone doesn't allow background processes to run, but is possible to get a notification to your application when a user is in certain location or if a user reaches certain speed while moving? ...

Can I set a UILabel to expand to fit an arbitrary amount of text?

This question is more for development purposes and would never be used for a shipping app. I need to do a quick and dirty UILabel whose text field I can point to a really, really, long string. Really long. I've ben futzing in IB and can't figure out the correct magic handshake to allow a UILabel to balloon to a really large size. Does an...

how to implement the foldout animation view like the original iPhone google map app?

Hi, all coder , I see the foldout animation view in the original iPhone google map app, I want the same effect in my view , but I have not find solution ... how to do the same animation via iPhone sdk ? any tip will be much appreciated... thanks... iRobin ...

Detecting horizontal swipes in a UIScrollView with a vertical scroll.

I have a UIScrollView that's around 600pixels in height and 320 in width. So I'm allowing the user to scroll vertically. I'm also trying to capture horizontal swipes on the view. The problem seems to be that when a user swipes horizontally with some accidental vertical movement, the UIScrollView scrolls and my touchesEnded delegate me...

Memory Leak - iPhone

Hi, im having problems with leak memory. The instruments show line "pagamento_" is a malloc. i dont have idea how resolve this. i have following code: * dados is NSMutableArray, and im alloc in other place... and do release in dealloc. NSString *path = [self caminho]; if (sqlite3_open([path UTF8String], &Banco) == SQLITE_OK){ if (s...

how to add sender into an HTML coded email?

I need to send an email from my iPhone app but the name of the sender needs to be included within the body. I do not know how to do that. ...

iphone memory leak with uitableview and sqlite

Hi All, I am having a problem with what I believe is a memory leak which after some time is causing my app to slow down. I have a sectioned uitableview that has sections of 'movie directors' with rows of thier movies in their particular section. To do this I am calling a data object (and passing it the section header) to return that se...

Does ADOBE mobile sdk support iphone for book reading ?

Hi all,, can anybody tell me that ADOBE reader mobile 9.0 sdk support the iphone to view the ebook,epub and the pdf format file on the iphone,actually they have mentioned some brands name that their software support like :-Nokia Verizon Wireless BREW NTT DoCoMo KDDI Sony Ericsson Windows Mobile but do not they mention about the iphone ...

UIDatePicker questions regarding displaying

Does anyone know if it's possible to change the minute interval of a UIDatePicker after it's been added to a UIView? Is it possible to show and hide 2 different datePickers? I want change the minuteInterval of the UIDatePicker to 5 and 30 when I click a button. Any sample code would be appreciated. ...

how can we make touch enable to a camera view ?

hi all ,, can we do like that a user touch on the camera view and on this touch we can identify touch locations on this view. i use the uiimagepickercontroller and added it on a button to the current view, after adding how can i identify the touch on this camera view that pop up after touch on any button. Thanks Balraj verma ...