I want implement a UI in tvOS. The hierarchy is like this:
App -> Tab Bar -> <Home, Search, Settings>
When I'm in Home and want to play a VOD, I want to hide tab bar (top menu) so the video is playing without overlay.
Using .isHidden on TabView result in hiding eveything because of the hierarchy.
Using .focused also do nothing.
How to achieve it?
Post
Replies
Boosts
Views
Activity
Hello there, I'm trying to convert an image into base64 encode, however when I try to Upload it to server using Alamofire it failes with no error.I'm using Xocde 8.3.3 and here is my code.func submitSale() { let url : String = "http:/ let imageDataPNG : Data = UIImagePNGRepresentation(UIImage(named: "japanvillage")!)! let imageDataJPEG : Data = UIImageJPEGRepresentation(UIImage(named: "japanvillage")!, 80)! let imageStrPNG = imageDataPNG.base64EncodedString() let imageStrJPEG = imageDataJPEG.base64EncodedString() let stringBase64 = imageStrJPEG.replacingOccurrences(of: "+", with: "%2B") Alamofire.request(url, method: .post, parameters: updateInfo, encoding: JSONEncoding.default).responseJSON { response in ...is there any one could help ?