diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2019-12-05 10:34:41 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2019-12-05 10:34:41 -0500 |
commit | 0dbbce69be5be675b91489b9c09e013130e688e0 (patch) | |
tree | b30b7d23346fba847e701ceca405bf90f85a7aa8 | |
parent | 04e70e4d8c02c240364dbe7488c8e3e36c6b1a65 (diff) | |
download | sdl_ios-bugfix/issue-1480-recreate-lockVC-every-time.tar.gz |
Don't set the lock window until its neededbugfix/issue-1480-recreate-lockVC-every-time
-rw-r--r-- | SmartDeviceLink/SDLLockScreenPresenter.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m index 655ed3a27..0bb394abf 100644 --- a/SmartDeviceLink/SDLLockScreenPresenter.m +++ b/SmartDeviceLink/SDLLockScreenPresenter.m @@ -34,8 +34,6 @@ NS_ASSUME_NONNULL_BEGIN CGRect screenFrame = [[UIScreen mainScreen] bounds]; _lockWindow = [[UIWindow alloc] initWithFrame:screenFrame]; _lockWindow.backgroundColor = [UIColor clearColor]; - _screenshotViewController = [[SDLScreenshotViewController alloc] init]; - _lockWindow.rootViewController = _screenshotViewController; return self; } |