iphone-sdk-4.0

Is it possible to target the iPad with the iOS 4.0 SDK?

Using the iOS 4.0 SDK, can I build an application for the iPad? ...

How to selected the first row on the tableview ,default

How to selected the first row on the tableview ,default ...

registering for NSNotification crashing my application??

i am playing a movie using MPMovieplayerViewController and i want to register for notifications when the movie stops...i am using the following code to use NSNotification but my application is crashing when the movie stops...i have used the NSNotification in same way earlier when it executed fine.. any idea regarding what i am doing wron...

Memory leak in a small code with dealloc

Hi All! Assist me please, is this code correct? I mean, do we really need a dealloc method in this class, and why do or don't we? Will be a memory leak if we don't use dealloc here? Thanx! #import <Foundation/Foundation.h> @interface MyData : NSObject { @private NSString *name; NSString *surname; NSString *email; ...

How to create sectioned/grouped table view alphabetically

I am creating an app that parses huge xml file and gets the data into table view. The user can enter text into search bar to search the table view. Now, i want to make the table view into a sectioned one that is grouped alphbetically. Sine the table view is huge and the search functionality is included i want to know how to make the ta...

how to find user's output in iphone

i am currently developing a game about brain accurancy.i want user will write his output like "write with pen " it is possible? or any API is support user write output with tool.plz anybody say ...

Overriding layoutSubviews when rotating UIView

When rotating a scroll view inside a UIView, the scroll view doesnt position correctly using its default autoresizing behaviour. Thus, when rotation occurs, in willRotateToInterfaceOrientation i call [self.view setNeedsLayout]; and my layoutSubviews method is as follows: - (void)layoutSubviews { NSLog(@"here in layoutSubviews"); }...

How to display list of values in Iphone programming except using UIPickerView?

Hi, In my app I have four fields and each of them is list of values. Now if i use a UIPickerView with 4 components then the whole View becomes too congested and ugly for the user's liking. Is there any better and cleaner way to display these list of values? Please Help & Suggest. Thanks!! ...

problem during Twitter+oauth integratin ?

hello i am using twitter + oauth for twitter integration in iphone. when i run the app. i got message such as "sorry that page doesn't exist!" even though i am using following things. self.requestTokenURL = [NSURL URLWithString: @"http://twitter.com/oauth/request_token"]; self.accessTokenURL = [NSURL URLWithString: @"http://twi...

Problem with conflicts bettwen UIGestureRecognizer and in iPhone

Hi. I'm working in small app for iPhone which uses openGL. The app is supossed to : Move around the screen with a moving touch. Zoom in/Out by tapping I'm overwritting this functions to handle the coordinates of the touchs and move around the screen with my finger, with success, working perfectly: (void)touchesBegan:(NSSet *)touch...

How can I create an NSTimer that repeats twice and then stops

I'd like to create an NSTimer that repeats twice then stops and invalidates itself. I'd rather not use a loop if that's possible. Any thoughts on how I could do this? ...

wait_fences: failed to receive reply: 10004003

Hello. I have an alertview that is being created with a textfield inside of it. when i close the alertview via a submit or cancel button, i am getting the wait_fences error in the console. it doesnt crash, or i havent been able to make it crash but id really like to figure out what is going on. alert = [[UIAlertView alloc] ...

How to draw dotted circles using graphics in iphone sdk ?

Hi all, I am implementing a graphic based application. I am very new to graphics, I need to display a dotted circle in my view. Is it possible to draw a dotted circle in using graphics, can you guys please help how to do it? Thanks in advance, S. ...

how can i set wallpaper from my nativa application thru iOS 4.0 using Photo Library?

Hi! I have made one application in iOS 4.0.In that application using Photo Library i am getting image in ImageView and from the Button Click I want to set that image as a iPhone Background so how can I do this using iOS 4.0? ...

How to add NSMurableArray to NSMutableDictionary to sort in alphbetical order

Actually, I have 2 questions... 1)I have a NSMutableArray that i am displaying it in a table view. I have included a search bar for searching the table view. Now i want to add the array to NSMutableDictionary with alphabets as keys. 2)I want to display this NSDictionary in table view as grouped table with numbers and alphabets as group...

Pins coming on the CallOut view

Hi all, I am implementing a map based application, In that I found a bug that is, some times the pins or rendering upon the call out view. Is it possible to resolve this? Thanks in advance, S. ...

My MoviePlayer doesn't respond to function

I am facing problem of memory leak and other MoviePlayer new initiation as my MoviePlayer doesn't respond to function, in which I am releasing that player on my done button. (void) playMovieAtURL { MPMoviePlayerViewController *mpViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:videoURL]]...

iphone text direction control programmatically

I have a bit of a problem here i have uitextview having some right to left text in it.. the problem is if the line contain a punctuations and question marks it revers it as if it display it from left to right.. if i hold the cursor on the line it will give me the cut copy past menue with direction button .. when i press it it correct eve...

Implementation of Quick Look API's in iphone

Hi, I want to implement Quick Look API's in my iPhone application for the document preview but don't know how to do this ? Please help me by referring sample code or application. Thanks ...

Title Bar( Network coverage, Time and Battery sign bar) not visible??

At first i created a window based application for my project and kept on working for it but now due to some important changes i had to change it to a navigation based app.. i did it by making changes in my MainWindow.nib file by adding NavigationController to it and making the necessary connections...everything went fine i started my app...