toast-notifications-ios icon indicating copy to clipboard operation
toast-notifications-ios copied to clipboard

Non-portrait interface orientations

Open letynsoft opened this issue 7 years ago • 0 comments

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

letynsoft avatar Mar 19 '17 22:03 letynsoft