摘要:
- (id)initWithWidth:(float)width height:(float)height{ if ((self = [super initWithWidth:width height:height])) { // Support orientation changes [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications]; [[NSNotificationCenter defaultCenter] addObserver:self ... 阅读全文