This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
/** | |
viewDidAppear打印当前页面类名,dealloc时打印销毁画页,看是否有离开未销毁可能存在内存泄漏的页面 | |
*/ | |
@interface UIViewController (Hook) | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define kClassKey @"rootVCClassString" | |
#define kTitleKey @"title" | |
#define kImgKey @"imageName" | |
#define kSelImgKey @"selectedImageName" | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
self.edgesForExtendedLayout = UIRectEdgeNone; |
NewerOlder