摘要:
-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{//创建窗口self.window=[[UIWindowalloc]initWithFra... 阅读全文
摘要:
通过button来创建菜单,并管理不同的控制器/***创建菜单按钮*/-(void)creatButtons{NSArray*buttonTitleArr=@[@"首页",@"报告",@"设置",@"官网",@"帮助"];for(inti=0;i<5;i++){UIButton*button=[UI... 阅读全文
摘要:
通过layler//创建头像视图UIButton*logoButton=[[UIButtonalloc]init];logoButton.frame=CGRectMake(50,50,100,100);logoButton.layer.cornerRadius=50;logoButton.backg... 阅读全文