iOS13 White Color issue with textColor of UIKit

后端 未结 2 757
慢半拍i
慢半拍i 2020-12-21 01:48

Before iOS13 application Layout working as excepted. After latest dark theme and light theme update by apple in iOS13.1, Their is so, many issue facing in e

2条回答
  •  一生所求
    2020-12-21 02:20

    This could help you.

    override func viewDidLoad() {
        super.viewDidLoad()
        if #available(iOS 13.0, *) {
            // Always adopt a light interface style.
            overrideUserInterfaceStyle = .light
        }
    }
    

提交回复
热议问题