Is there a native view controller available (in iOS 5) similar to MFMessageComposeViewController but without the message field? Basically I just need to pick contacts from the address book just like the iCal Invitees picker but with the token field and search table!
I've implemented my own picker with tokenizing text field and contacts picker.
Have a look and feel free to use & extend.
https://github.com/eaigner/COPeoplePickerViewController
If you just want to pick some people from the address book, then that's what he ABPeoplePickerNavigationController is for.
Have you looked at ABPeoplePickerNavigationController? This is for browsing the address book.
http://developer.apple.com/library/ios/DOCUMENTATION/AddressBookUI/Reference/ABPeoplePickerNavigationController_Class/Reference/Reference.html
Related
For example, when I input several letters, the corresponding words will show up automatically and then I can select them. But how to implement this kind of function? Which kind of UI element should I use ? Should I also input all countries in the world in cord data so that I can get the corresponding results ?
The image you've shown appears to be simply a UITableView that appears and is populated in response to what the user types in a UITextField.
If you're working with a table view similar to your screen shot, you can use a UISearchController. Here's a tutorial about it.
I need to Create an iPad application for sending the selected photo as an attachment in an email.
The TO and CC address can be typed or must be able to select from contacts if they have email address added.
As I am a new guy in iPhone/iPad application can any one provide me a good way to do it. Any sample apps, paths to refer.
I recommend you take a look at MFMailComposeViewController in the documentation. The examples there will help. You'll want to include the MessageUI.framework as well. This should get you going with mailing within an app.
For the picture side, check out UIImagePickerControllerDelegate.
I use a search bar in my CoreData app to find cities, and it is showing every possible match within my table view, like Google does. Google is providing a new searching facility: auto-completion of words (like XCode does with code -- IntelliSense). Can I implement this type of searching in UISearchBar?
See if this previous SO question helps Autocomplete search example for iPhone
MFMailComposeViewController has this cool way of adding recipients. Either by picking from the address book or by autocompleting whatever the user types. Then the selected address is converted into this blue button-like thing. Backspacing deletes the blue thing/the address.
I would like to have exactly this way of recipients in my application to select some users. Does anybody know of an implementation with source available? Or has somebody a clear idea how Apple implemented it?
René
If you find yourself capable in translation objective-c to C# then you could always look at the Three20 library. They have implemented it in their TT Message Controller.
How do you create a hyperlink in an iOS app?
It also answered here in a similar SO question:
How to parse and show hyperlinks (phone number/email addresses etc) in UILabel?
Where? Take a look at UITextView's dataDetectorTypes property. Specifically UIDataDetectorTypeLink or UIDataDetectorTypeAll.