When i load the app my bottom tool bar is missing but when i move the toolbar to the center of the screen it showing .My view frame is default 0,0,320,480 .Then why bottom toolbar not appearing ? check the image ,you can see the top bar but bottom bar is missing ,its not hidden in code or property ,when i move it to top or centerstrong text** of screen we can see that**
- (void)viewDidLoad {
UIAlertView* _alertView = [[UIAlertView alloc] initWithTitle:@"Loading Chapters..."
message:@"\n"
delegate:self
cancelButtonTitle:nil
otherButtonTitles:nil];
UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
// UIProgressView *loading=[[UIProgressView alloc]initWithProgressViewStyle:UIProgressViewStyleBar];
// loading.center=CGPointMake(50,100);
spinner.center = CGPointMake(139.5, 75.5); // .5 so it doesn't blur
[_alertView addSubview:spinner];
// [_alertView addSubview:loading];
[spinner startAnimating];
[_alertView show];
if(loadingProgressBar+1>[sharedManager.spineArray count]) {
[_alertView dismissWithClickedButtonIndex:0 animated:YES];
}
[_alertView dismissWithClickedButtonIndex:0 animated:YES];
[super viewDidLoad];
if (UIDeviceOrientationIsLandscape([UIDevice currentDevice].orientation))
{
webView.frame=CGRectMake(0,0,480,315);
BottomBar.frame=CGRectMake(0,260, CGRectGetWidth(self.view.bounds),41);
//NSLog(@"%f%f",CGRectGetHeight(self.view.bounds), CGRectGetWidth(self.view.bounds));
}
}
make sure that your toolbar view property is something like this