Skip to content
Snippets Groups Projects
Commit 9301fbab authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Don't save screenshots by default to camera roll

parent 74205b29
Branches
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ import UIKit ...@@ -9,7 +9,7 @@ import UIKit
extension UIViewController extension UIViewController
{ {
open func takeScreenshot(_ shouldSave: Bool = true) -> UIImage? { open func takeScreenshot(_ shouldSave: Bool = false) -> UIImage? {
var screenshotImage :UIImage? var screenshotImage :UIImage?
let scale = UIScreen.main.scale let scale = UIScreen.main.scale
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment