Authored by 阿达

bug fix

... ... @@ -146,6 +146,7 @@ static float kprogressViewRadius = 2.0f;
if (self.isAppeared) {
[_currentNaviBar addSubview:self.progressView];
}
_progressBar.progressView = self.progressView;
}else{
[self.progressView setFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.frame), kprogressViewHeight)];
self.progressView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleBottomMargin;
... ... @@ -442,7 +443,7 @@ static float kprogressViewRadius = 2.0f;
{
UIViewController *result = nil;
UIWindow * window = [[[UIApplication sharedApplication] delegate] window];
UIWindow * window = (UIWindow *)[[[UIApplication sharedApplication] delegate] window];
if (window.windowLevel != UIWindowLevelNormal)
{
NSArray *windows = [[UIApplication sharedApplication] windows];
... ...