Customized back button appears on UIImagePickerController

前端 未结 3 1213
再見小時候
再見小時候 2021-01-13 02:50

I use the following code to customize the back button on the navigation bar throughout my application:

UIImage *backButton = [[UIImage imageNamed:@\"backButt         


        
3条回答
  •  旧时难觅i
    2021-01-13 03:17

    Try using this:

        [[UINavigationBar appearanceWhenContainedIn:[YourClassThatsNotAUIImagePicker class], nil] setBackButtonBackgroundImage:someOtherImage forBarMetrics:UIBarMetricsDefault];
    

    That should limit your appearance setting to only the classes you list and therefore leave the UIImagePickerController alone.

提交回复
热议问题