Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Can I present it as a form sheet view controller and use resize to present it as full screen ? #22

Open
sriteja25 opened this issue Apr 25, 2018 · 3 comments

Comments

@sriteja25
Copy link

I have a view and I want to switch between form sheet or half screen view and on a button tap or on resize handler press I want to present it as Full screen view controller.

Is it possible ?

@louisdh
Copy link
Owner

louisdh commented Apr 25, 2018

That's tricky, but a similar feature is included in OpenTerm: switching between floating mode and full screen. Here's the source code, which may help you with what you're trying to do: https://github.com/louisdh/terminal/blob/master/OpenTerm/Controller/Scripting/ScriptsViewController.swift#L123

@sriteja25
Copy link
Author

Oh thanks for pointing it out, just checked it. I see that you are maintaining the repo, great job.

Looks a bit complicated, can you help me out with a small example or such ?

@LachlanGrant
Copy link

@louisdh I can't seem to get the example provided to work for my application, would love to see this become a feature!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants