创建:2012.04.20修改:2012.10.12
*多用[NSNull null],少用nil;
*
用模拟器自动模拟内存不足。
*
如果需要根据不同方向动态修改,则需要注册旋转消息
UIApplicationWillChangeStatusBarOrientationNotification
UIApplicationDidChangeStatusBarOrientationNotification
- (void)handleUIApplicationDidChangeStatusBarOrientationNotification:(NSNotification*)notification
{
if (self.isNeedRecordDidChangeStatusBarOrientation)
{
self.isDidChangeStatusBarOrientation = YES;
}
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
if (self.isNeedRecordDidChangeStatusBarOrientation && self.isDidChangeStatusBarOrientation)
{
[self updateExtraView];
}
self.isNeedRecordDidChangeStatusBarOrientation = NO;
self.isDidChangeStatusBarOrientation = NO;
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
self.isNeedRecordDidChangeStatusBarOrientation = YES;
}
*
loading页面加入
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
[[UIApplication sharedApplication] endIgnoringInteractionEvents];
*
不同平台测试。
*
不同版本测试。
*
测试断网情况。
*
+++++