用Automatic Gesture Recognition實作:
在viewDidLoad中


添加自定義響應方法:


其實也可以直接在touchesBegan中自己實作功能:


that‘s all.
本文轉自老Zhan部落格園部落格,原文連結:http://www.cnblogs.com/mybkn/archive/2012/03/26/2417513.html,如需轉載請自行聯系原作者
用Automatic Gesture Recognition實作:
在viewDidLoad中
添加自定義響應方法:
其實也可以直接在touchesBegan中自己實作功能:
that‘s all.
本文轉自老Zhan部落格園部落格,原文連結:http://www.cnblogs.com/mybkn/archive/2012/03/26/2417513.html,如需轉載請自行聯系原作者