|
@@ -28,7 +28,15 @@
|
|
- (UIProgressView *)progressView
|
|
- (UIProgressView *)progressView
|
|
{
|
|
{
|
|
if (_progressView == nil) {
|
|
if (_progressView == nil) {
|
|
- _progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0,STATUS_BAR_HEIGHT - 2,WIDTH,2)];
|
|
|
|
|
|
+ CGFloat H = 0.0;
|
|
|
|
+ if (self.titleShow) {
|
|
|
|
+ if ([self.titleShow isEqualToString:@"-1"]) {
|
|
|
|
+
|
|
|
|
+ }else {
|
|
|
|
+ H = NAVIGATION_BAR_HEIGHT;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ _progressView = [[UIProgressView alloc] initWithFrame:CGRectMake(0,H - 2,WIDTH,2)];
|
|
_progressView.tintColor = [UIColor blueColor];
|
|
_progressView.tintColor = [UIColor blueColor];
|
|
_progressView.trackTintColor = [UIColor whiteColor];
|
|
_progressView.trackTintColor = [UIColor whiteColor];
|
|
}
|
|
}
|