博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年3月30日

摘要: A 17:02:32我看到例子 if (motion == UIEventSubtypeMotionShake ) { // User was shaking the device. Post a notification named "shake". [[NSNotificationCenter defaultCenter] postNotificationName:@"shake" object:self]; }A 17:02:40请问这样有什么效果吗?A 17:03:07只是post 其他什么都没做B 17:04:14addObserver:sel 阅读全文

posted @ 2011-03-30 11:37 BradyChen 阅读(8624) 评论(0) 推荐(3) 编辑