toast-notifications-ios
toast-notifications-ios copied to clipboard
Non-portrait interface orientations
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)
.
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