I have application that send sms. I have texfield for nuber of receiver. I want to add button and when this button is clicked user phonebook to appear and select number from contact list. This number should appear in text field. How can I do that?
Best regards,
Nikolay
You can leverage stuff out of the AddressBook framework, including existing view controllers.
See http://developer.apple.com/library/ios/#documentation/AddressBookUI/Reference/AddressBookUI_Framework/_index.html
Related
Now i'm working in iPhone application, Using Label to set a text like (To:), Textfield for enter the text or number and add a plus button for add a contacts.
When i entered the name in textfield then press a plus button, the contact name display in the textfield but the background image are not visible in the textfield like below i mentioned the picture, Field To: (yuvaraj) contact background image is lightblue.
please any one help me.
Thanks in Advance
You can not customize MFMailComposeViewController to avoid editing. Apple forbids this, and the reason is quite simple: it is the user and not you that must decide exactly what to send, to whom etc. The same applies for the UI controller allowing to send SMS (text) messages. And, of course, Apple does not allows sending an email or SMS without explicit interaction with the user. It is the user that must validate and send the email or SMS message. The validation process include the ability to cancel the message or to change any single property at will, including the "to" recipients. from How to customize MFMailComposeViewController so that i can make the "to" field as non-editable? However you can try with this link http://sugartin.info/2011/10/13/sending-a-mail-useing-gmail/
I'm relatively new to iPhone Development and I'm trying to create an app that's using a UITableView that needs to push to different Views. Right now I'm designing it to push to a different page each time a cell is clicked. It seems that from other posts that I've read that it's not a good idea as there will be a lot of individual View pages. I'm not sure how to accomplish this as I am designing each View to have a phone number, email, web site and SMS that goes to different sources/destinations. I've designed everything up to this point and it works, but need this final step in order to finalize the app. Any help or tutorial that someone could be point me to would be appreciated.
I'll try to be more specific. I have a main menu of categories that navigates to a submenu of other categories. Each category that the submenu navigates to has a phone link, email link, SMS link, and web link. Do I have to make separate pages/views for each category or is there a way to make a NSDictionary that will house all of the data for each category that has the URL links?
You need to be more specific in your question. It sounds as if you wish to push a subsequent UITableViewController onto a UINavigationController stack using a 'push' segue, with the data passed to the sub-category using a combination of the methods 'didSelectRowAtIndexPath:' to determine the clicked row, and 'prepareForSegue:' to pass the row data to the new UITableViewController.
Check out the Apple tutorial - https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/SecondiOSAppTutorial/ which covers all of these concepts in very simple terms.
I am writing an iPhone application. In one of my views the user will have to enter Canadian zip codes which alternate letters and numbers (e.g. V0E 5N0). I would like to have the default keyboard showing up, but additionally, I want to allow the user to be able to enter numbers without having to switch keyboards back and forth by pressing the ".?123" key, which makes the process tedious for this type of entry. Will my app violate apple guidelines if I add into my view 10 buttons with the digits to show right above the keyboard?
There are plenty of Apps that already exist on the App store with such functionality, so I don't see why your App would get rejected specifically for having a view above the keyboard. It may still get declined because of other things, but not a custom keyboard view.
Nebulous Notes - Approved and on the App store:
iSSH also has a custom keyboard with toolbar on iphone and ipad and is on the App store.
Normally incase of a zip code entry , users are provided with a UINumberKeyPad and it makes it easy for them (But in your case it would not help you). In your case, if you wish to add another UIToolbar right on top of the inputView, I would say go for it, but it is not the best practice !
This will not violate the apple guidelines, and you can implement in your view with a UIToolbar as an inputAccessoryView. Make sure to remove the Toolbar from the superView during the keyboard event resignFirstResponder.
how can i create a simple submit form with some UITextfield and button , when user tabs the button then the textfield information sends into an email (without email application) ?
For your first question, use a grouped table view, with a cell that contains a text field and a button.
For your second question, take a look at the skpsmtpmessage project on Google Code, which "implements a quick class for sending one off messages via SMTP on the iPhone".
Im creating a tableview that displays a feed similar to the facebook iphone app news feed. Im just wondering what control i should use in my custom table cell that will allow me to show a mixture of text and hyperlinks. e.g. UserA has just sent you a message. Where "UserA" is a hyperlink and when the user clicks on it I need to be able to catch that event and send them to UserA's details.
Thanks in Advance
You should probably avoid putting individual touchable elements into the cells. It can become confusing if there is different functionality depending on where the user taps.
Can you just catch the selection of the cell and perform the appropriate action then?