iphone

UIWebView inside the UITableViewCell

I want to develop iPhone UI just like iPhone Mail application. I am able to add UIWebView inside the UITableViewCell and it is working fine. I am able to zoom the webview using [self.webView setScalesPageToFit:YES]. Now, My problem is when I do zoomIn or ZoomOut the UITableView does not get resized. How do I exactly make UI similar t...

Sidescrolling UI on iPhone

Please lead me in the right direction. I need to provide user with small text centered on the iPhone screen. User can make quick scroll left or right in order to get the next or previous text. There can be hundreds of such text pieces. The process itself is similar to Photo application sidescrolling but much simple, no zoom. As far as ...

Database Error : Compiling app on iphone device

Hi guys I am getting a problem when i compile my iphone database application to device. When i debug the code it says database path "out of scope" on the break point and it does not compile the statement. Below is the code i am using to access the database. databaseName = @"Zen.sqlite"; NSArray *documentPaths = NSSearchPathForDirector...

i want to display image in fix size in table cell

hi all in my iphone application images are comming from xml feed and they have variant size,how can i resize them to fix width and hight programmatically. my code is in which i want to display images in cell of same width and size.my image are comming from rss fedd. int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] ...

How to Set the size of alert View?

hello guys.. I have used date picker in alert view. As alert view has default height and width, I want to change that... Any one know that how to do? Please convey..! ...

NSUSERDefaults class HAVE PROBLEM OR NOT?

NSString *string = @"Hardwork"; NSUserDefaults* defs111 = [NSUserDefaults standardUserDefaults]; [defs111 setObject:string forKey:@"first_name_textfield"]; Hi, In my code I'm unable to set this value string for key first_name_textfield. Why is it,so? ...

uibutton controlstate image problem

i have a uibutton. im using two images for UIControlStateNormal and UIControlStateSelected. when i touch down the button it shows the UIControlStateSelected image for a split second. what is the reason? ...

common parameters in iphone

How can I define common parameters in iPhone to use everywhere in different classes. ...

How to disable the delete button for the particular row when we are using the table view delegate method commitEditingStyle in Iphone sdk?

Hi guys, Here I need a help from ur side that Im using the tableview delegate method commitEditing sytle to get the delete button for every cell when we swipe.But my problem here is I dont want the delete button for the first row in the tableview and swipe should not work and I dnt have any idea how to implemet this. Anyone's help will...

Iphone Ref Movie loading time

Hi all We deliver videos to iphones using a Ref Movie but with a dynamic content reference so the same Ref Mov template can be used for serving all our different videos by dynamically writing a video path. Now when we serve a regular Ref Mov created in QT the Ref Mov becomes active/clickable within a split second but when we use the d...

save and play recorded sound

i'd like to save and play again this recorded sounds: @interface Recorder : NSObject { NSMutableArray *times; NSMutableArray *samples; } @end @implementation Recorder – (id) init { [super init]; times = [[NSMutableArray alloc] init]; samples = [[NSMutableArray alloc] init]; return self; } – (void) recordSound: (id)...

Uitableview not able to hold data

Hi i have a uitableview, i am displaying some data of about 200 rows in it. Data will be displayed in several sections which will be determined at run time. I am able to get sections but i am not able to display data for a particular section in correct order. I have data in the form of dictionaries in an array. My Code: - (UITable...

Select multiple photos from camera roll in iPhone

Is there a way to allow users to select multiple photos at once from the camera roll like the WiFiPhoto app does? ...

Storing custom objects in an NSMutableArray in NSUserDefaults

Possible Duplicate: How to store custom objects in NSUserDefaults HI, How can i store NSMutable array in NSUserDefaults? regards shishir ...

Global object sharing between 2 views.

I have created a project using Utility Application. It creates 2 views, one main and one flipview. How can i declare a global variable in main so that i can access it in flipview controller too? ...

Reverse Lookup API for iPhone?

Hi all, I am developing an iPhone application where i have to implement reverse lookup for phone numbers. Is there any free API available for this? ...

Using iphone accelerometer AND UIEventSubtypeMotionShake event simultaneousluy.

Hi, I am using accelerometer to move/change things on the screen in my app. I also need to detect UIEventSubtypeMotionShake in the view controller for some other animations. As my app is a simple view based app, there is just one view controller which acts as UIAccelerometerDelegate AND FirstResponder (for detecting the shake event). ...

How can Core Data store an NSData?

The documentation says, that core data properties can only store NSString, NSNumber and NSDate types. However, a lot of Core Data users claim Core Data could also store an NSData type. But I wasn't able to see that in the documentation, although the Xcode Data Modeler allows to choose a data type called "binary" (which seems to be NSData...

Get CoreLocation Update before TableView population?

hi, i have the corelocation stuff in an uitableview controller. i actually want to get a distance from two locations and print that distance in a tableview cell. the problem is, that the tableview is filled before all the corelocation stuff happens. how can i make corelocation makes all updates before the table is filled? heres my cla...

Iphone UITableViewCell selection background

Hi, I'm developing custom tableViewCell for iphone, I used interface builder to design it and loaded in from code. It use custom background to show Cell Selection. It work ok expect form one small issue, there is a small rectangular area in left side dosen't show the custom image, but show default selection ( bule color ) in that area....