Open chrisamanse opened 7 years ago
Possible resolution, create API such that:
let usbongViewer = UsbongViewer(url: treeURL)
usbongViewer.bundles = [] // Pass in In-App Purchase bundles
usbongViewer.defaultBackgroundImage = myImage
usbongViewer.present(on: self) // Present utree on top of current view controller
Change default background image if no image provided in utree file. Also default background image is visible while loading the utree. This noticeable especially when the utree file is large because it takes a longer time to decompress the utree and the background image can't be accessed when decompressing is not yet finished.