iphone

IPhone launch application with home button

Hi, do you know in which ways is it possible to launch an application? I know that it is possible by clicking on the icon, and it is possible by clicking an url with a cistom protocol, Anyone know if there ae more ways? For example is it possible to make an application be launched when the users touch 3 times the home button? o...

Add button in footer at the end of the table view cell

hi, I am new to iphone development.I have created a UIview controller class and added a table view using interface builder. Now i want to create a button in footer view at the end of the table view last cell. I have used UIView Controller class (not UItableview controller).How can i achieve this. please help me out. Thanks. ...

Audio/Voice Visualization

Hey you Objective-C bods. Does anyone know how I would go about changing (transforming) an image based on the input from the Microphone on the iPhone? i.e. When a user speaks into the Mic, the image will pulse or skew. [edit] Anyone have any ideas, I have (what is basically) a voice recording app. I just wanted something to change as ...

custom cell based on row index iphone

I'm wondering if it is possible to add cell content to a uitableview based on the row index? For example if it is the first cell (row 0) I want to add an image and text. If it is the second row I would like to add a button. For all other rows I would like to just add a line of text. I tried using indexPath.row. It worked the first time...

Expected specifier-qualifier-list before ... only in classes in a certain folder

Hi Classes in my iPhone project are organised within folders on the filesystem, these correspond to groups (for each folder) in xcode. My problem is that there seems to be a particular class which classes in a particular group/folder cannot make reference to; the compiler complains of "Expected specifier-qualifier-list...". This happe...

- (void)alertViewCancel:(UIAlertView *)alertView is not called

Hi all I've got the problem that the UIAlertViewDelegate method - (void)alertViewCancel:(UIAlertView *)alertView is not called when I cancel a AlertView with it's cancel button. Weird is that the delegate method - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex works perfectly. Does anyone have an ...

How can I store Google Maps search results in an array?

Hi All, I'm working on an app where I need to query Google for businesses near a current location. How do I go about storing them in an array? I don't want to exit the app and open Google Maps, I want to be able to display the addresses in a list format (Table View, I suppose). Any help would be greatly appreciated. Thanks! Thomas Ex...

Progressive download of images in a UITableView

Hi everyone, I'm developing on the iPhone and I have seen in the AppStore that the images are progressively downloaded in the UITableView... How can I implement that? My idea was to detect the showed content (which cells are shown) and download these images. My problem is that I don't know how to detect the showed cells! Is it the good w...

UITableView : detecting click on '-' button in edit mode

Hi all, On my iphone app, I have a UITableView in edit mode, containing custom UITableViewCell. I would like to detect when user has clicked on the left button of each cell (minus circular red button, the one that is animated with a rotation), just before the "Delete" button appears. I would like to be able to change my cell content in...

Creating a horizontal line

I have two labels that are stacked. If I want a horizontal line between them, is there any other way besides using an image with a UIImageView? ...

mms video streaming on iPhone? (Microsoft Media Server)

Hi All, So the question is in title. I almost sure that the answer is NO, but maybe there are some stream converters exist or any other way??? Thanks in advance ...

Three20 linker error

I have the following line of code: if( !self.isLoading && TTIsEmptyString !TTIsEmptyString(_username) ) and it results in the following error: Undefined symbols: "_TTIsEmptyString", referenced from: -[UserModel load:more:] in UserModel.o ld: symbol(s) not found collect2: ld returned 1 exit status I've read, that linker error...

While loop whilst recording - iPhone

What I want to do is have a while statement which loops whilst the recorder.recording property value is set to YES. So, something like: while (recorder.recording == YES) { // Do something here until the record button is pressed again // Stop the recorder from recording and break out of loop } Problem I'm currently facing is th...

How to map an property of ClassA to one of SuperclassA?

I have a class named SuperclassA, and an class named ClassA. ClassA inherits from SuperclassA. SuperclassA has got an property called something, so a very generic not-much-saying name. In ClassA, I want to have an property which maps to that something of SuperclassA. How could I do that? I want to make absolutely sure that any access t...

Preview rounded image in iphone

Hi, can anyone tell me how can I create an image preview inside a customized cell with the aspect of the ones loaded in the mms'. I've been trying to do it by changing values in IB and I haven't been able to. Thanks a lot! ...

"Don't Allow" in LocationManager keeps logging errors

I have an app that checked for location. It asks the user to use location and if the user says no on the menu there is an issue when i load the mapview. Once i select the mapView it asks for the user location again. If the user says no again my console keeps displaying errors/warning as well as my NSLog from the "didFailWithError" of my...

How to add iphone libs *.a files to xCode's SVN (CSM)?

Have: xCode project with Google Analytics lib, could be normally compiled. Want just to put it to already working SVN to build project from the work macosx without any additional steps. I've tried different ways to add *.a file to the svn, but all just have not worked. When adding a directory there is all files except *.a in the svn. ...

Get the current UIScrollView scroll values on the iPhone?

If I have a UIScrollView and move it around to a specific location, is there any way to get that position it has moved too? Thanks - James ...

Optional Navigation Controller

I have an application containing a variety of view controllers linked together in different ways (Welcome > Browse > Preview OR Browse > Preview OR Settings > Splash). The first view controller is presented modally using a navigation controller from a main controller, then the next set of view controllers are added using pop and push. ...

Does this popup view violate HIGS?

Will using a popup view to present a comment submission form violate the HIGS? I may have one popup with selections that goes to the final popup. Two popups back to back. This is more similar to a modal type of view than an alert or action sheet as described by the HIGS: http://developer.apple.com/iphone/library/documentation/UserExp...