任何人都有一个工作的解决方案来摆脱iOS 10中的这个边界?我有一个自定义UITabBar背景图像.
我试过以下没有结果:
tabBar.backgroundImage = UIImage(named: "myBackgroundImage.png")
tabBar.shadowImage = nil
tabBar.shadowImage = UIImage()
// i've also tried combinations of this in the storyboard directly
Run Code Online (Sandbox Code Playgroud)
我终于把手举到空中并将酒吧风格设置为"黑色"..这并没有摆脱边界,而是让它变白了.所以它隐藏了它.
奇怪......文档中的简单内容似乎与Swift无关.见下面的代码.使用Swift时"SDWebImageRefreshCached"究竟在哪里?
self.profileImageView.sd_setImageWithURL(profileImageUrl, placeholderImage: UIImage(named: "default_profile_image"), options: SDWebImageRefreshCached)
Run Code Online (Sandbox Code Playgroud)