iphone-sdk-3.0

Question related to autorelease function

1>what is defination of autorelease function? 2>how it will be helpful with comapre to release method 3>Is there any example availabel that distinguish beetween autorelease and release function? ...

detect movements of objects on iphone by blowing air

hi all. I was just finding something on web I come to know that we can provide movements to different objects by blowing air on iphone from mouth. I tried but could not get how to do such things. so do any one know that how to move objects by blowing air from mouth. If any one do have any idea please tell me. If I am now wrong then...

Sending out HTML email with IMG tag from an iPhone App using MFMailComposeViewController class

Dear All, I am using MFMailComposeViewController class to send out formatted HTML email from my iPhone app. I need to include an image in the email and I added am IMG tag to my emailbody - (IBAction)shareWithOther { MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init]; picker.mailComposeDelegate = se...

oreintation problems in a section table view based app

hi, I have few text fields in sectioned table view. When i rotate the view gets rotated according to the orientation but not getting filled up according to the screen. For instance i have set the width using CGRectMake method for portrait as 70.0 but when it is turned to left the size of the text box is the same and not getting expanded...

How do you change color/image on the default backBarButtonItem?

I need to change color on the default "self.navigationItem.backBarButtonItem". To accomplish this I´ve created an custom Button class and implemented it like this: - (void)viewDidLoad { [super viewDidLoad]; BackButton *blueSaveButton = [[BackButton alloc] init]; UIBarButtonItem *temporaryBarButtonItem = [[UIBarButtonItem alloc] init...

Iphone programming

Possible Duplicate: How to programmatically send SMS on the iPhone? how to develop/code an application which could send sms from iphone with text in it. ...

sqlite3_bind_text not binding the values

Below is my code NSFileManager *fileManager = [NSFileManager defaultManager]; NSArray *dbPath=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES); NSString *documentsDir = [dbPath objectAtIndex:0]; NSString *writableDBPath= [documentsDir stringByAppendingPathComponent:@"mydb.sqlite"]; success = [fileManager ...

Is it okay to subclass a view controller?

I'm a relative Objective-C noob, so please bear with me. The Apple documentation states that it is not a good idea to have two view controllers controlling a single view. I am building a game which takes place within a single view. I want to create objects that can add themselves to the main view (as sub-views). Is it okay to create ...

disable one component when other component is spinning

I am presently working with a uipickerview on a view. The picker has two components. First one will have years and the second one will have a list of names linked to that year. The problem is the values in the second component keep changing depending on the year. So i want to disable any movement or scrolling on the second component when...

iPhone OS 3 SDK?

How can I install the iPhone OS 3 SDK beside the iOS 4 SDK? Is it possible? ...

iPhone - How to dissmiss Quicktime from UIWebView?

Is there any way to dissmiss / access the QT player loaded inside of an UIWebView? ...

An Important Question about NSString

The problem is after i press 2 buttons the App crashes and I can't figure out why Button1 is wired to button1 Button2 is wired to button2 ... Button5 is wired to button5 What am I doing wrong? Basically I want to check if the sequence of #'s is punched in correctly (55235) In my AppDelegate.H file, I've defined a variable called NSS...

UI for rating an app during deletion

Hi, Is that possible pop up the UI which comes during the deletion process before deleting the app ? (A UI which has stars, no thanks, rate my app button). If no, can you tell me whether it is possible to create a screen and send the rating captured to iTunes connect ? ...

Storing an image and display it when I launch the app again.

Hey guys, I have some questions would like to ask: I wanna ask how can I store the image so that next time when the user open the app and the app will show the image which previously he just choose it? The image will be taken from either Photo Library or Camera Photo so I don't think I can get the path for the photo and store only the ...

Question regarding to Navigation Controller

Hey guys, I recently trying to play with Navigation Controller and I'm facing some problems here would like to seek for help. I opened a new project and using view-based application. After that I add a Navigation Controller from library then I build and run, why I can't see the navigation bar on the simulator? I only see a white view .....

Does anyone know about sensible tableview?

Have anyone used and can recommend to me a tool called sensible tableview for iPhone development? I have been hearing a lot about it lately so I've been wondering if anyone has any experience with it. Thanks. ...

how to say to Xcode that this file is stored on <myApp>/documents (iPhone)

hi guys, i'm new as an iphone developer, as a hobby i'm writting a small game (just for fun). i would like to store the default configuration inside a xml file. I have the xml file, I know about how to parse the xml document, but.. what i do not know, and that's why i'm here is: is there a way to say to Xcode: imagine this (xml) file ...

How to pass single touch events to super view in UIWebView?

Hi, I am using UIWebView to display pdf. I wanna handle touch events on webview. There are two conditions, my WebView should handle double touch events and gestures, and i wanna pass single tap/touch events to super view. Can any one please tell me how to differentiate the touch events in UIWebView and how to pass specific touch events...

Seemingly Simple AVAudioPlayer code will not play audio file on iPhone

I am trying to play a short sound whenever clicks a button on the iPhone; however, for some reason whenever I click the button (which calls the playClickSound method below), no sound plays. I have the project linked with AudioFoundation.framework and the sound file (clickSound.mp3) in the Resources folder of my application bundle. Can so...

iPhone SDK and Multipage tiff

I need to access the iphone APIs to read a multipage TIFF image file format, dose anyone know how:, if not how can I build and use the open source libtiff on iphone/xcode. Thank you in advance ...