iphone

Detect Unicode characters in NSString on iPhone

I am working on an SMS application for the iPhone. I need to detect if the user has entered any unicode characters inside the NSString they wish to send. I need to do this is because unicode characters take up more space in the message, and also because I need to convert them into their hexadecimal equivalents. So my question is how d...

hide the keypad of the textfield and display datepicker

i have a form wher i need to enter the start date and end date to view the transactions. when i set the focus on the textfirld, i can see the keypad, but behind it the datepicker is coming. how am i remove the keypad and only show the datepicker ...

remove unnecessary buttons.

I have a question would like ask anyone expert in objective C and iPhone Dev. I have a page used to add stuff to other page. Such as a have a page called artist. Open it will see artist history . Clicking it will lead to other pages carry the according contents. Inside each content has a button called add to favorite. Okey, now if the a...

Why am I seeing the following warning: "Messages without a matching method signature wii be assumed to return 'id' and accept'...'as arguments "?

while wirting below code i have got the warning:"Messages without a maching method signature wii be assumed to return 'id' and accept'...'as arguments" ViewSlider *viewSlider=[[ViewSlider alloc]init]; [viewSlider slideView:view1 secondView:view2]; ...

Lotus Domino Server Access from iPhone

Hello, I am new to lotus notes and domino server. I want my iPhone application to have access of domino server. I want to get Contacts from domino server in my iPhone Application. I googled for it,I found many documents. but I couldn't find perfect data flow for that. can any one explain me how can i get Contacts/Calendar/Mail from dom...

Is dynamically linking against the Sqlite library safe on the iPhone?

The concern is guaranteeing compatibility with the Sqlite Header file compiled into the iPhone app. What if the header file used at compile time is from a newer version then the dynamic library installed on the iPhone? This could be due to the app running on an older or newer iPhone OS version then the app was built with. Is it safe to u...

what exactly NSUrlConnection ASynchronous means ?

Hi, i am getting confused what is the difference between Synchronous NSUrlConnection and ASynchronous NSUrlConnection?is there Synchronous or ASynchronous? if we use detachNewThreadSelector in connectionDidFinishLoading method,is it ASynchronous NSUrlConnection? which is the best way?any tutorial ... ...

is it possible to send push notification using shared hosting service?

i want to know that can i use shared hosting service for push notification or i need some another? which one is best for push notification please tell me. ...

Unable to assign images to an imageView from an Array, but can assign images to an imageView from a UIImage variable

Hi all, I have a problem with arrays and passing images between views that I would like some help on! So the background is that I have: • RootViewController (which handles my table view) • CommunicationViewController which handles the detail of the selected element from the table • SelectSlideViewController which displays an image cli...

How can I get MPMediaItem from MPMoviePlayerController or create MPMediaItem from NSData(URL) ?

The similar question is posted here but don't have answer: http://stackoverflow.com/questions/1666558/how-to-get-a-mpmediaitem-from-mpmovieplayercontroller My problem is that I need to pass properties/metadata from streaming mp4 file to MPMovieMediaController. I have two choices: to get the MPMediaItem from the played URL in the Med...

How to align text box to right in uitableview custom cell

hi. I want to put Label on left & uitextfield on right in my custom cell. Textfield is displayed on left right now. Here is my code. cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"Name"] autorelease]; textField = [[UITextField alloc] initWithFrame:cell.frame]; textField.placeholder = @"Name"; textField.boun...

How to quit an iPhone app nicely?

or "How to simulate a home button pressed event?" I need to restart my iPhone app, and I want the program to quit, so the user will only have to start it. If I simply use exit(0) some changes won't get saved, as they would if the user quits by pressing the home button. The restart needed for language change. Related code: - (void)on...

NSURL path doesn't understand a plus sign in a URL

Hi As you know a plus sign in a URL translates to a space character. [NSURL path] returns a path replacing all %xx with corresponding characters. But it doesnt translate '+' to a space! It leaves it as a plus sign. Is it a bug or what? How can I use NSURL to work with URLs which contain spaces encoded as pluses? thanks ...

iphone .pls parser

how to access the .pls and .qtl file content from web using objective c. ...

Getting a more accurate CGRectContainsPoint result

Hi, I'm new to posting on this forum but can't tell you how many times reading it has helped me out. Currently I'm working on a game for the iPhone it has a grid of UIImageViews that are contained within a subview of my gameboardViewController. I build the grid on ViewDidLoad. Ok so far. Now I am using touchesBegan to figure out which on...

Iphone Simulator - simulate roaming

Is it possible to simulate roaming case in iPhone Simulator? ...

Writing a masked image to disk as a PNG file

Basically I'm downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I'm using the masking code everyone seems to point at which can be found here: http://iphonedevelopertips.com/cocoa/how-to-mask-an-image.html What happens though, is that the image displays fine, but the version...

Self Uninstall of application in iPhone

Hello, is there possibility to do uninstall of your application which runs under iPhone? There could be a number of cases when you want application to uninstall itself. Thanks ...

how does one make a subview firstResponder

i am trying to get a subview to become firstResponder. my understanding is that this is done in its viewDidAppear method, like so: - (void)viewDidAppear { [self becomeFirstResponder]; } while overriding canBecomeFirstResponder to return YES: - (BOOL)canBecomeFirstResponder { return YES; } however, when i insert the subview ...

Memory leak when using UIwebview

Hi! Im in the final stages of my first iphone sdk project. I have been working hard to remove memory leaks from my app, and have mostly succeeded at it. But there I am struggling with one of them. I have a contact screen with a button that fetches a webview, but only if there is a network connection. If not an alert pops up. This works ...