Issue with light mode in AirPrint(Swift).
Is there any way to change the colour of the navigation bar?
Please try this delegate method
- (UIViewController *)printInteractionControllerParentViewController: (UIPrintInteractionController *)printInteractionController { return self.navigationController; } -(void)printInteractionControllerDidPresentPrinterOptions:(UIPrintInteractionController *)printInteractionController { // self.navigationController.topViewController.navigationController.navigationBar.tintColor=[UIColor redColor]; self.navigationController.navigationBar.tintColor = [UIColor greenColor]; // self.navigationController.topViewController.navigationController.navigationBar.barTintColor=[UIColor purpleColor]; self.navigationController.topViewController.navigationController.navigationBar.tintColor=[UIColor yellowColor]; }
Please try this delegate method