I’m using this code to open up a page in my iOS app when a user clicks a button, but I get a grey bar at the top of the page when the user does so. How can I get rid of this?
- (IBAction) colours:(id)sender {
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:colourPickerView];
[self presentViewController:navigationController animated:YES completion: nil];
}
You could be referring to the navigation bar created by the navigation controller.
To hide it just use this.