Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-07-2011, 10:31 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 8
Shake0615 is on a distinguished road
Post Making a single word in a UITextView bring up a UIAlertView

Is it possible to make a single word in a UITextView bring up a UIAlertView? For example, there's hyperlink within this textview and if you click on a certain word, it brings up this UIAlertView asking if you want to leave the app and visit the link.

How would you go about doing this?
Shake0615 is offline   Reply With Quote
Old 02-07-2011, 11:19 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 53
baltar is on a distinguished road
Default

Quote:
Originally Posted by Shake0615 View Post
Is it possible to make a single word in a UITextView bring up a UIAlertView? For example, there's hyperlink within this textview and if you click on a certain word, it brings up this UIAlertView asking if you want to leave the app and visit the link.

How would you go about doing this?
Put a button with the text and a custom image and after that use an IB action to open the browser
baltar is offline   Reply With Quote
Old 02-07-2011, 12:31 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 8
Shake0615 is on a distinguished road
Default

Quote:
Originally Posted by baltar View Post
Put a button with the text and a custom image and after that use an IB action to open the browser
Can you put a button within the UITextView? How would you do this?
Shake0615 is offline   Reply With Quote
Old 02-07-2011, 12:35 PM   #4 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 53
baltar is on a distinguished road
Default

Quote:
Originally Posted by Shake0615 View Post
Can you put a button within the UITextView? How would you do this?

I'm really sorry misread it as UIView

here'a link , might be helpful to you

iphone - transparent view or button over a uitextview with touches passed to it - Stack Overflow
baltar is offline   Reply With Quote
Reply

Bookmarks

Tags
hyperlink, uialertview, uitextview

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 367
14 members and 353 guests
7twenty7, blasterbr, Clouds, dre, EvilElf, jeroenkeij, jimmyon122, Mah6447, Morrisone, n00b, pungs, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,900
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:47 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0