프로그래밍/iOS
[ios] ProgressBar 사용
삶의안식처
2015. 4. 8. 18:14
스토리 보드에서 ViewController로 컨트럴 드래그 하면 아래와 같이 property를 생성할 수 있다.
@property (strong, nonatomic) IBOutlet UIProgressView *CountProgress;
필요한 부분에서
CountProgress.progress=0.5;
위와 같이 사용하면 된다.
progress는 0~1사이의 값을 가진다.