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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 07-20-2009, 10:27 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 5
Default Forward content touches through an image.

I have a UIImageView layed over a UIPickerView just for a nice fade effect but I would still like to be able to interact with the Picker view. I realize I could use buttons but I don't really like the way they look. Does anyone know how to forward the content touches through the image to the pickerview?

Thanks for the help!

here is an image of what I am doing.
Arc96xt is offline   Reply With Quote
Old 07-20-2009, 10:36 AM   #2 (permalink)
www.ihustleapps.com
 
Join Date: Jul 2009
Location: Long Island
Posts: 102
Default

what if you put the image in back and set transparency on the picker?
wtngclan is offline   Reply With Quote
Old 07-20-2009, 10:51 AM   #3 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 5
Default

Quote:
Originally Posted by wtngclan View Post
what if you put the image in back and set transparency on the picker?
I previously tried that and it made the images in the picker to light.
here is what it looks like in IB.



Thanks for the quick response though.
Arc96xt is offline   Reply With Quote
Old 07-20-2009, 12:21 PM   #4 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,558
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

is your image in a UIImageView. There should be an option like imageView.userInteractionEnabled = NO;
smithdale87 is offline   Reply With Quote
Old 07-20-2009, 12:32 PM   #5 (permalink)
New Member
 
Join Date: Apr 2009
Posts: 5
Default

smithdale87 your a genius! I figured that would simply brick that area of the screen to touches, I had no idea it would make it transparent to touches!!

Problem Solved!!
Thanks Again!!
Arc96xt is offline   Reply With Quote
Old 07-20-2009, 12:36 PM   #6 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,558
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

welcome
smithdale87 is offline   Reply With Quote
Reply

Bookmarks

Tags
touch, uiimage, uipicker

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: 232
16 members and 216 guests
ADY, Alsahir, cacao, dacapo, Dani77, Desert Diva, djohnson, F_Bryant, HemiMG, jansan, M@realobjects, MarkC, prchn4christ, smethorst, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

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