If you are using OS3.0
you can do it like the following
textview.editable = NO;
textview.dataDetectorTypes = UIDataDetectorTypeAll;
More Related Contents:
- How can I make a clickable link in an NSAttributedString?
- Placeholder in UITextView
- How disable Copy, Cut, Select, Select All in UITextView
- Detecting taps on attributed text in a UITextView in iOS
- Counting the number of lines in a UITextView, lines wrapped by frame size
- Is it possible to change color of single word in UITextView and UITextField
- iOS 7 UITextView vertical alignment
- UITextView link detection in iOS 7
- Hyperlinks in a UITextView
- UITextView cursor below frame when changing frame
- HTML Format in UITextView
- Reload subview with animation
- How do I animate constraint changes?
- UITextField text change event
- How to find topmost view controller on iOS
- Async image loading from url inside a UITableView cell – image changes to wrong image while scrolling
- Proper use of beginBackgroundTaskWithExpirationHandler
- How can I programmatically check whether a keyboard is present in iOS app?
- Setting an image for a UIButton in code
- iBeacon: didRangeBeacons stops getting called, must reset device for it to work again
- Swift replace substring regex
- iOS 6 Facebook posting procedure ends up with “remote_app_id does not match stored id”
- Change iPhone UISlider bar image
- Immutable/Mutable Collections in Swift
- How to draw a “speech bubble” on an iPhone?
- Adding google maps as subview crashes iOS app with exc_bad
- What are the options for saving data in iOS?
- Keyboard and cursor show, but I can’t type inside UITextFields and UITextViews
- Append String in Swift
- NSURLSessionDataTask dataTaskWithURL completion handler not getting called