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

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

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-12-2008, 04:45 PM   #2 (permalink)
tawpie
Registered Member
 
tawpie's Avatar
 
Join Date: Jul 2008
Posts: 347
tawpie is an unknown quantity at this point
Default Re: UIButton action no more working with iPhone SDK 2.0

Make sure to enable user interaction for your view, either in IB or explicitly. Programmatically created UI and UIImage views default to no user interaction.

// enable interaction, the default is no interaction
self.view.userInteractionEnabled = YES;
__________________
"Hardware will break. Software comes broken" Unknown
Calc-12E <-- ditch your old calculator.
CPR•Choking <-- Review your training, just in case. (Free)
All of Nature NW <-- scrolls in x and y, with pinch zoom AND scrollable text to boot. It can be done ('taint easy tho)
tawpie is offline   Reply With Quote
 

» Advertisements
» Online Users: 580
12 members and 568 guests
akiraliu, baja_yu, Domele, GVD, ilmman, ITCreative, jerrywenwu, mediaspree, Newbie123, sanlows, soydesu, yuonneru49
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,544
Threads: 93,725
Posts: 401,261
Top Poster: BrianSlick (7,954)
Welcome to our newest member, soydesu
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.