I use method SwiftOverlays.showBlockingWaitOverlayWithText("example. many words ...")
If the string argument contains a several sentences ( > 8-10 words) the width will be more than the width of the screen (iPhone 5s for e.g.)
So, we need width constraints.
If we have universal app, the solution below is not suitable.(because we need different strings for ipad(without \n) and iphone)
// Overlay with text only
let text = "This is a text-only overlay...\n...spanning several lines"
self.showTextOverlay(text)
I use method SwiftOverlays.showBlockingWaitOverlayWithText("example. many words ...")
If the string argument contains a several sentences ( > 8-10 words) the width will be more than the width of the screen (iPhone 5s for e.g.) So, we need width constraints.
If we have universal app, the solution below is not suitable.(because we need different strings for ipad(without \n) and iphone)