November 2013
Intermediate to advanced
576 pages
19h 3m
English
Dynamic Link Detection is very easy to implement and provides a great user experience if the user is working with addresses, URLs, phone numbers, or dates in a text view. The easiest way to turn on these properties is through Interface Builder (shown in Figure 21.2).
Figure 21.2 Dynamic Link Detection controls in Xcode 5.
These properties can also be toggled on and off using code.
[textView setDataDetectorTypes: UIDataDetectorTypePhoneNumber | UIDataDetectorTypeLink | UIDataDetectorTypeAddress | UIDataDetectorTypeCalendarEvent];
iOS 7 added a new delegate method as part of UITextViewDelegate ...
Read now
Unlock full access