iphone

Instruments automation: iterate for all buttons

Hi, I'm in the process of automate one of my apps. First I tap on a tabBar =>ok Tap on a 'Add' button of a navigation bar => ok Fill some data of my textFields of my tableView => ok Tap on some cell and open a new ViewController => ok Tap on a 'Add' button in this new controller => nothing happens ... The button is the same as the...

Getting "Application failed codesign verification. ... " warning after adding Distribution configuration to xcode - how to solve this?

I went step-by-step for about 5 hours through the process of adding an Distribution configuration to xcode. After that, I keep getting this error even when I build with my Debug Configuration: Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011) The...

NSArray as two dimensional array

Hi friends Can anybody suggest which is the best way for using NSArray as two-dimensional array to store data for filtering data based on field. Thanks in advance Regards, sathish ...

adding UISearchBar in Navigation based application

Hi, I have added UISearch object on view in Navigation based application. But when i run the application, only table view is visible, why UI Search object is not visible. Thanks in advance, iSight ...

Play AAC using the AudioFileStream

I want to play the AAC which comes from a service .like mp3.But It can not be played.anyone can help me. ...

Uiview with close "x" button

I want to create a UIView programmatically, and want a close "X" button at the top left vertice of the View. When i press the close button view disappears. Is it possible?? ...

How to disable the keypad on user tap?

I have a custom view which contains UITextField's. When user clicks on the text field, numeric KeyPad pops up. But I need the KeyPad to disappear when "user" clicks anywhere else outside the textField's in the view.... Can anyone help me out... Thanks in advance. ...

nsarray filtering

Possible Duplicate: removing duplicates in nsarray Hi friends, I am storing the value in nsarray and i have to remove the duplicate dates.i mean exactly like this (14/12/2010,paid,15/12/2010,pending,15/12/2010,pending,16/12/2010,paid) should be (14/12/2010,paid,15/12/2010,pending,16/12/2010,paid). can any one suggest me the b...

iPhone SDK : Add UISlider and UISwitch in a table view only crash when touch slider ???

OK,here is my question foe example,I create a UISwitch in the first 3 cell's accessoryView theSwitch = [[[UISwitch alloc] initWithFrame:CGRectZero] autorelease]; [cell addSubview:theSwitch]; cell.accessoryView = theSwitch; and add 2 slider in next 3 cells theSlider = [[[UISlider alloc] initWithFrame:CGRectMake(174,12...

Using XML-RPC in iPhone apps

Hello! Is it possible to use XML-RPC calls in iPhone application? For example, only streaming model of xml processing can be used. So we can't use NSXMLDocument in iPhone applications. Are there any similar constraints with XML-RPC? Thank you, Paul ...

Load Gallery images in Viewcontroller of iphone

Hi, am new to iPhone and i have been given a task to show all the images from the gallery of the iPhone to the current view so that the user can select an image and view it and here's the second part of my problem i am having a share button and its functionality is that the selected image by the user on the touch of the share button must...

UIScrollView: recreating content view in scrollViewDidEndZooming

Hi All, I would like to ask, is it correct to recreate content view in scrollViewDidEndZooming method? Is there any potential problems with this? I use the following code: - (void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(float)scale { [self.contentView removeFromSuperview]; self.content...

I am not able to FTP to a FTP server.

I am not able to FTP a file from Iphone device(with wifi) to remote FTP server. Most of the times, i am getting "stream open error" and very few times, the file is getting FTPed. But while checking FTP server, the uploaded file is empty i.e the file size is 0 bytes. But the file which is uploaded has some definite size. Note: i use acti...

How to delete all events from calendar?

Is there a method to receive all entries from calendar at once, without specifying predicate, which can only create 5 years intervals? I know about "5 years" from console output. I specified 1912-2020 years and here is output: EKEventPredicate start:1/1/12 12:00 AM; end:1/1/16 12:00 AM; cals:(null) Here is my current code: EKEventStor...

UITableViewCell with dynamic content, dynamic layout and thus a dynamic height

Hey guys, I have a UITableView which sometimes just stops responding when its been loaded. I have no clue why this happens and I was wondering whether it could be the layouting of the cells which I do in cellForRowAtIndexPath, because my content is dynamic and therefore the layout of the subviews has to be adopted each time. Is there...

How to build correctly Android-compatible website?

I am HTML/CSS/jQuery coder. And I need to develop the website, which will be "zoomed-out" or "fitted" to 320x480 (frequently used resolution) Android mobile device screen. Or even this solutions should check my screen resolution and connect the right CSS for that. Somewhere I met that there is android.js file, which connects to HTML and ...

Accelerometer Issue When Build to Release

Hi I have just completed my game with cocos2d, however I go and build for release now (have always been building for debug) and now when I launch the game the accelerometer is screwed up. It worked wonderfully in debug mode, with no issues at all. What its meant to do: Tilt left and right to move player left and right on screen. What...

in iphone how to write code for radio button

while i am doing program i got dbt how to write the code for radio button ...

UITableview freeze the app while scrolling

hai Guys, in my app i am using the combination of tabbarcontroller, navigation controller and tableview controller. The view hierarchy of the app is UITabBarController | |_ UINavigationController | |_ UITableView | ...

Application Crashes when loading the next view

Hi Everyone, I'm getting a strange crash time to time. But I can't figure out what it is. Can anyone help me?...Following is the console message that I'm getting... *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/36FA484A-7C...