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

Is there a way to present so it doesn't take up the entire superview? #61

Open
jderbs opened this issue Jul 12, 2019 · 0 comments
Open

Comments

@jderbs
Copy link

jderbs commented Jul 12, 2019

Is there a way to specify the hieght of the PullToDismiss view, without having it take up the entire screen? I tried this:

let vc = LikesTableController()
        vc.preferredContentSize = CGSize(width: view.frame.width, height: 200)
        present(vc, animated: true)

but it doesn't work....

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