The previous implementation to resolve login page still appearing in background involves using a static function that overrides presentation behaviour for every view controller even when not required. Also method-swizzling (an obj-c technique) used to achieve this has some cons in itself.
This PR uses swift APIs to do the required changes without changing any default behaviour.
Description
The previous implementation to resolve login page still appearing in background involves using a static function that overrides presentation behaviour for every view controller even when not required. Also method-swizzling (an obj-c technique) used to achieve this has some cons in itself.
This PR uses swift APIs to do the required changes without changing any default behaviour.