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

Non-portrait interface orientations #47

Open
letynsoft opened this issue Mar 19, 2017 · 0 comments
Open

Non-portrait interface orientations #47

letynsoft opened this issue Mar 19, 2017 · 0 comments

Comments

@letynsoft
Copy link

i'm trying to build application that can rotate to any orientation, however when i'm using this module, it appears to be showing the toast in the portrait position (sometimes reverse portrait)
itoast fail.

Can you build in an option to disable the switch in the - (void) show:(iToastType) type function (preferably to use the portrait option, with added v.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;)?
I have changed the script with adding default to be portrait case and adding above line to work with switching orientations, it seem to work pretty well there.

Thanks

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