Post

Replies

Boosts

Views

Activity

Reply to iOS 14 UIPickerView Selected View Background Color
I have found a solution: The indicator color can be changed to transparent with the following code. I manually added two separator lines for iOS14, so the picker is again identical to iOS13. if #available(iOS 14.0, *) { let transparent = UIColor(red: 255.0 , green: 255.0, blue: 255.0, alpha: 0.0) pickerView.subviews[1].backgroundColor = transparent }
Oct ’20
Reply to barTintColor not working in iOS 15
I have the same problem. The code has to be inserted in each controller and the transitions between the controllers is buggy (Xcode Beta 2, iOS 15 Beta 2). My problem is the missing top line in the TabBar. I can solve it only by adding a frame. But the frame would have to be visible only at the top. Does anyone have any ideas? Here is my current solution: tabBarController?.tabBar.tintColor = "myTintColor" tabBarController?.tabBar.clipsToBounds = true tabBarController?.tabBar.layer.borderWidth = 0.5 tabBarController?.tabBar.layer.borderColor = UIColor.lightGray.cgColor thanks!
Jul ’21
Reply to barTintColor not working in iOS 15
*** Update iOS15 Beta 3 / Xcode Beta 3 *** Since beta 3 the problem seems to be solved in the main controller. But when I switch to a subcontroller, the separator line disappears. It no longer appears when I switch back to the main controller. This is definitely a bug!
Jul ’21