UIProgressView *aaa = [UIProgressView alloc]initwithframe:cgre
进度条设置背景颜色不能用uicolor
用他的tracktintcolor属性,aaa.tracktintcolor= [uicolor redcolor]; 背景颜色;
用progresstintcolor属性。aaa.progresstintcolor = [uicolor blackcolor];设置进度条颜色;
UIActivatyindicator *aaa =[UIAc'tivatyindicator]alloc]initwithframe 活动指示器的创建
aaa.startanimating
aaa.hidesWhenStopped = bool; 停止动画时候是否隐藏
aaa.backgroundcolor
aaa.color
aaa.ActivatyindicatorViewStyle =