Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 1, 2009, 03:08 PM   #1
mraheel
macrumors regular
 
Join Date: Apr 2009
tappable text like in Mail.app

i was trying out to do something like making a particular Word in a label to dynamically highlight and become tappable.

Like once you type the email address in Mail.app. It is then covered in lightblue and upon tap, open up contacts.

If a UILabel has text @"Oh man, these apples are yellow";
At runtime, i want the "apples" to become kinda highlighted.. and become tappable.. kinda like how we have our html tags but having nothing to do with the internet.

Maybe if i find a way to detect apples and then make it tappable with highlighted text etc. using tags like @"Oh man, these $apples$ are yellow";

Things within $ will be selected and shown..

Im confused how to go about it though..
mraheel is offline   0 Reply With Quote
Old Nov 1, 2009, 09:05 PM   #2
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Look at the souce for three20. They have labels that can include tappable links. You can either use it as is or adapt the code for your purposes.
PhoneyDeveloper is offline   0 Reply With Quote
Old Nov 2, 2009, 02:22 AM   #3
mraheel
Thread Starter
macrumors regular
 
Join Date: Apr 2009
thanks man, i'll check it out, im looking at it..
mraheel is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
App that converts images with text in actuall text rrares1996 iPhone and iPod touch Apps 0 Jul 23, 2013 06:59 PM
TxtPub - Text file reader app by converting text to ePub automatically. Ralph Kim iPad Apps 0 Apr 26, 2013 09:13 PM
app that converts handwritten text to text? TheGenerous iPad Apps 4 Feb 20, 2013 01:07 PM
iPad Mini: Excellent Quality Text in App Store App Summary? AndyGarton iPad 18 Nov 8, 2012 12:34 PM
changing default mail app text encoding patent10021 Mac OS X 10.7 Lion 1 Oct 2, 2012 08:13 PM

Forum Jump

All times are GMT -5. The time now is 11:51 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC