由买买提看人间百态

topics

全部话题 - 话题: uievent
(共0页)
f*****Q
发帖数: 1912
1
我按照
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/EventHandling/EventHandling.html
结果都进了
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
而不是
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
哪位达人有经验?交流一下。
a***y
发帖数: 19743
2
☆─────────────────────────────────────☆
faucetQ (fq) 于 (Sat May 15 22:56:03 2010, 美东) 提到:
我按照
http://developer.apple.com/iphone/library/documentation/iPhone/
结果都进了
- (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event
而不是
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
哪位达人有经验?交流一下。
☆─────────────────────────────────────☆
chick (Por Los Momentos Dif Ciles) 于 (Sun May 16 04:07:19 2010, 美东) 提到:
如果是我,就把这几条全部override一遍,然后打log出来看,比如
touchesBegined
touchesFini... 阅读全帖
S**********r
发帖数: 1410
3
来自主题: SanFrancisco版 - 有objective c的高手吗(包子贴)
I suggest you
1. move backgroundImageView.hidden = !selected;
to within
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
because it's not a good idea to manipulate UI in a data member's setter.
2. let system generate setter and getter for you.
(共0页)