摘要:
1,对于 通知,在发通知的 时候,viewdidload 注册过的 通知的页面,都会发一遍的,因此 可以把注册通知的 方法写到viewwillappear里面, 其它页面没有出来,因此只会调用一次,2,alertview 在任何地方都是可以随时弹出的,而showtoast是不能的,它是需要长在view上面的, 阅读全文
摘要:
viewwillappear 在 挂起 到激活是 不会调用的,而在 controller 之间切换的 时候才会被调用的, 阅读全文
摘要:
1,每天筛选,2,只维护 commonarray,用药状态,声音开关,item 开关都 记录到 commonarray 缓存里面, 阅读全文
摘要:
- (void)viewDidLoad{ [superviewDidLoad]; [[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(notificationBadgeNumber) name:NotificationListLoadedobject:nil];}- (void)viewWillDisappear:(BOOL)animated{ [super viewWillDisappear:animated];[[NSNotificationCenter defaultCenter] rem... 阅读全文
摘要:
阅读全文
摘要:
self showloadingviewself showtoastself showalertview, 阅读全文
摘要:
阅读全文
摘要:
@property(nonatomic,strong) IBOutletUITextView *signTextView; 阅读全文
摘要:
1,didendDragging2,reloadTableViewDataSource3,doneLoadingData4,egoRefreshScrollViewDataSourceDidFinishedLoading/[scrollView setContentInset:UIEdgeInsetsMake(0.0f, 0.0f, 0.0f, 0.0f)];5,didendDraggingscrollView.contentInset = UIEdgeInsetsMake(60.0f, 0.0f, 0.0f, 0.0f);当 reloadingdata的时间 极短的时候,变先是 设置为 0然 阅读全文
摘要:
UIEdgeInsetsZeroDefines a set of edge insets where all of the values are 0 阅读全文