沧海一粟

----not just a programmer

导航

2013年8月16日 #

IOS端的摇一摇功能

摘要: //微信的摇一摇是怎么实现的~发现原来 ios本身就支持//在 UIResponder中存在这么一套方法 - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0); - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0); - (void)m 阅读全文

posted @ 2013-08-16 15:13 沧海一粟-啊添 阅读(14072) 评论(0) 推荐(0) 编辑