Ktoś ma działające rozwiązanie, aby pozbyć się tej granicy w iOS 10? Mam niestandardowy obraz tła UITabBar.iOS 10: Niestandardowy obraz tła UITabBar tworzy ramkę u góry obrazu. Jak mogę go usunąć?
Próbowałem następujących bez rezultatów:
tabBar.backgroundImage = UIImage(named: "myBackgroundImage.png")
tabBar.shadowImage = nil
tabBar.shadowImage = UIImage()
// i've also tried combinations of this in the storyboard directly
I wreszcie wyrzucił ręce w górę i ustawić styl bar do „Black” .. to nie pozbyć granicy , ale czyni ją białą. Więc to ukrywa.
To jest denerwujące. – rdougan