¡@

Home 

2014/10/15 ¤U¤È 10:04:33

iphone Programming Glossary: beach

UIScrollView touches vs subview touches

http://stackoverflow.com/questions/877828/uiscrollview-touches-vs-subview-touches

up stackOverflow so I'm hoping this is the place. I've got a BeachView.h subclass of UIScrollView picture of a sandy beach covered with a random number of Stone.h subclass of UIImageView a random PNG of a stone userInteractionEnabled YES to accept.. a random PNG of a stone userInteractionEnabled YES to accept touches . If the user touches and moves on the beach it should scroll. If the user taps a stone it should call method touchedStone . If the user taps the beach where there is.. on the beach it should scroll. If the user taps a stone it should call method touchedStone . If the user taps the beach where there is no stone it should call method touchedBeach . Now I realize this sounds dead simple. Everyone and everything..