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 68020
 
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Why doesn't sender names in Mail.app appear as entered in Address Book? swedefish Mac Applications and Mac App Store 7 Oct 8, 2012 11:43 PM
Issue with rich text formatting in Mail.app Ekim Neems Mac Applications and Mac App Store 0 Jul 26, 2011 08:48 AM
Gmail stopped syncing in Mail.app mocoroh Mac Applications and Mac App Store 5 Nov 24, 2010 01:27 AM
Text formatting in Mail.app lozpop iPad 1 Aug 23, 2010 09:51 AM
Using Snow Leopardís built-in text snippets in Mail.app MacBytes MacBytes.com News Discussion 2 Nov 14, 2009 05:50 PM


All times are GMT -5. The time now is 01:51 PM.

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

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