Open ghost opened 7 years ago
+1
You can customize those elements like this:
func swiftyOnboardViewForOverlay(_ swiftyOnboard: SwiftyOnboard) -> SwiftyOnboardOverlay? {
let overlay = SwiftyOnboardOverlay()
DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) {
// Customize overlay's elements here
}
return overlay
}
This is an ugly hack you can use until this bug gets fixed (hope soon).
does any one find solution for this problem?
On current version there is no way to modify overlay's elements, i.e.
continueButton
andskipButton
.Settings made in
swiftyOnboardViewForOverlay
are replaced by inner functionset(style:)
andoverlay
is not accessible outside the file.swiftyOnboardOverlayForPosition
can be use but is not call at init so changes dot not show on the initial display: a user action must occur for this method to be called.