摘要: 不可滑动:?1tableView.userInteractionEnabled=NO;也可以在storyboard中的userInteractionEnable属性设置显示导向箭头:?12//显示导向箭头cell.accessoryType=UITableViewCellAccessoryDiscl... 阅读全文
posted @ 2015-12-28 18:58 飘金 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 屏幕切换时,会发送一个通知。只要注册一个通知:[java]view plaincopy[[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(doRotateAction:)name:UIDeviceOrienta... 阅读全文
posted @ 2015-12-28 16:32 飘金 阅读(227) 评论(0) 推荐(0) 编辑