摘要:
新建的project以及ViewController 文件 跟之前的文章一样直接贴代码(多码伤眼,伤身,伤脑,勿入)AllUIKitAppDelegate.h#import <UIKit/UIKit.h>#import "mySwitchView.h"@interface AllUIKitAppDelegate : UIResponder <UIApplicationDelegate>@property (strong, nonatomic) UIWindow *window;@property (nonatomic,retain) mySwitch 阅读全文