摘要:
//首先判断app是否是第一次运行,然后根据情形切换根视图 self.window=[[UIWindow alloc]init]; self.window.frame=[[UIScreen mainScreen]bounds]; self.window.backgroundColor=[UIC... 阅读全文
摘要:
//有时候我们想解决一个头像问题并非只有button设置圆形,然后把图片放到button内部,还有一种方法,利用UIimageview可以加图片,并且将imageview设置为圆形,然后再i ma ge vi e w上面添加一个点击事件例如:imageview1=[[UIImageView allo... 阅读全文