I added a toolbar for an ipad application programatically.
UIToolbar *drawToolBar = [[UIToolbar alloc] initWithFrame:CGRectMake(0,710 , 1024, 40)];
[self.view addSubview:drawToolBar];
[drawToolBar release];
Now it is shown in the bottom of the ipad screen, when in the landscape mode. it comes in to the middle,when it is in the portrait mode.
How can i put it, always in the bottom.
1 Answer