Post
Replies
Boosts
Views
Activity
*** 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!
deleted
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!
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
}
I have found the problem:
When the display zoom is activated, the resolution of 1136x640 is adapted to the display with 1334x750.
I have the same problem. The code change the background of the picker, not the selected row!
I am also looking for a solution to keep the design of iOS13.