The easiest way to achieve that is to create a UINavigationcontroller and present it as a modal view, I use something like this: NewViewController *f = NewViewController allocinitWithNibName:@"NewView" bundle:NSBundle mainBundle; self. NewViewController = f; f release; UINavigationController *navigationController = UINavigationController alloc initWithRootViewController:self. NewViewController; self presentModalViewController:navigationController animated:YES Since you're presenting the view as a navigatiocontroller you can use the toolbar property.
The easiest way to achieve that is to create a UINavigationcontroller and present it as a modal view, I use something like this: NewViewController *f = NewViewController allocinitWithNibName:@"NewView" bundle:NSBundle mainBundle; self. NewViewController = f; f release; UINavigationController *navigationController = UINavigationController alloc initWithRootViewController:self. NewViewController; self presentModalViewController:navigationController animated:YES; Since you're presenting the view as a navigatiocontroller you can use the toolbar property.
Hmm I think I need to clarify my problem a bit. I have two view controllers, both are part of a navigationcontroller. When I push the second viewcontroller I want there to be a toolbar, not on the first one.
When I use the default navigationcontroller ToolBar the transition is really ugly (black square visible). So I've created a custom toolbar which I add to the view of the second view controller. This way it stays 'attached' to the screen during transitions.
The only thing left is to make my custom toolbar rotate and resize the height properly in landscape mode. Can it be solved with masks? – Ivo Jun 16 at 20:46.
Not sure about masks, but you can resize the view in -willRotateToInterfaceOrientation:duration:. Simply change the frame there to suit your needs. You can also do it in -willAnimateRotationToInterfaceOrientation:duration.
If you need to resize your custom toolbar with the same aspect ratio as standard navigation bar you should implement willAnimateRotationToInterfaceOrientation controller method like this: - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration { CGRect navigationToolbarFrame = self. NavigationController.navigationBar. Frame; CGRect customToolbarFrame = CGRectOffset(navigationToolbarFrame, 0.0, navigationToolbarFrame.size.
Height); UIView animateWithDuration:duration animations:^{ self.customToolbar. Frame = customToolbarFrame; }; }.
The easiest way to achieve that is to create a UINavigationcontroller and present it as a modal view, I use something like this.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.