Change Text Color of Items in UIActionSheet - iOS 8

前端 未结 9 1407
星月不相逢
星月不相逢 2020-11-29 02:26

I had been using following code to change text color of items which I add in UIActionSheet.:

- (void)willPresentActionSheet:(UIActionSheet *)act         


        
9条回答
  •  眼角桃花
    2020-11-29 02:47

    I'm using it.

    [[UIView appearanceWhenContainedIn:[UIAlertController class], nil] setTintColor:[UIColor blueColor]];
    

    Add one line (AppDelegate) and works for all UIAlertController.

提交回复
热议问题