I am facing issue with very old developed App, my UIPicker looks black in ios13 but in ios12 it looks good.
Image from ios12 :
Image from ios13 :
Just to confirm that
1 : When i am checking Dark mode is OFF
2 : I have not set background color for UIpicker it is the default color
I have tried to search the similar issue but not one face the issue, even in my App also it comes randomly
Any one who face the same issue? Any idea suggestion are most welcome!!!
Thanks in advance!!!
你可以尝试以添加overrideUserInterfaceStyle = .light
在viewControlled或组UIUserInterfaceStyle
在info.plist中,以光
@guru Try like in your Objective C
if (@available(iOS 13.0, *)) {
self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
}
either you can try like below too on your AppDelegate.m,
if (@available(iOS 13, *)) {
self.window.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.