Modal status bar and navigation bar text colors from UIActivityViewControllers in iOS 7

后端 未结 6 2002
孤独总比滥情好
孤独总比滥情好 2021-01-01 16:50

When I\'m using a UIActivityViewController, after the user chooses an activity (such as Mail or Message), I can not change the text color for the status bar nor

6条回答
  •  甜味超标
    2021-01-01 17:37

    You have to set the tintColor of the entire app.

    self.window.tintColor = [UIColor redColor];
    

    or

    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    

    bar buttons

    self.navigationController.navigationBar.tintColor = [UIColor redColor];
    

提交回复
热议问题