Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to display over tabs? #167

Open
scottmcpherson opened this issue Jan 21, 2019 · 0 comments
Open

How to display over tabs? #167

scottmcpherson opened this issue Jan 21, 2019 · 0 comments

Comments

@scottmcpherson
Copy link

scottmcpherson commented Jan 21, 2019

Hi, trying to get presentr to render over tabs. Is there a way to do this?

image

Just using an example setup right now trying to get this to work:

    let presenter: Presentr = {
        let presenter = Presentr(presentationType: .bottomHalf)
        return presenter
    }()
    
    var alertController: AlertViewController {
        let alertController = AlertViewController(title: "Are you sure? ⚠️", body: "This action can't be undone!")
        let cancelAction = AlertAction(title: "NO, SORRY! 😱", style: .cancel) {
            print("CANCEL!!")
        }
        let okAction = AlertAction(title: "DO IT! 🤘", style: .destructive) {
            print("OK!!")
        }
        alertController.addAction(cancelAction)
        alertController.addAction(okAction)
        
        return alertController
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant