I am trying to change the colour of the navigation bar buttons, navigation bar tint colour and text colour, however I don't seem to be getting anywhere. The MFMailComposeViewController is being activated via a UIActivityViewController and I have tried a few different methods that have worked before (not through a UIActivityViewController though).
This is my current code:
    UINavigationBar.my_appearanceWhenContainedIn(MFMailComposeViewController).barTintColor = UIColor.blackColor()
This was suggested here. I have also tried this:
    activityVC.navigationController?.navigationBar.tintColor = UIColorFromRGB(0x0096FF)
    activityVC.navigationController?.navigationBar.barTintColor = UIColor.whiteColor()
I'm also looking to change the status bar colour.
Anyone have any ideas?
UPDATE:
I fixed the navigation bar issues for the buttons and title, but still looking for a solution to the status bar. Doing this doesn't work:
    self.presentViewController(activityVC, animated: true, completion: { () in
        UIApplication.sharedApplication().setStatusBarStyle(UIStatusBarStyle.LightContent, animated: true)
    })
 
     
     
     
     
    