Commit 030a343f authored by yqz's avatar yqz

4-8-2

parent ce62ba6f
...@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
window = UIWindow(frame: UIScreen.main.bounds) window = UIWindow(frame: UIScreen.main.bounds)
window?.backgroundColor = UIColor.colorWithHex(hexStr: launchColor) window?.backgroundColor = UIColor.colorWithHex(hexStr: launchColor)
window?.overrideUserInterfaceStyle = .light
let Ssoryboard = UIStoryboard(name: "LauchVC", bundle: nil) let Ssoryboard = UIStoryboard(name: "LauchVC", bundle: nil)
if let current = Ssoryboard.instantiateViewController(identifier: "LauchVCID") as? LauchVC { if let current = Ssoryboard.instantiateViewController(identifier: "LauchVCID") as? LauchVC {
......
...@@ -35,6 +35,7 @@ class LandingVC:UIViewController { ...@@ -35,6 +35,7 @@ class LandingVC:UIViewController {
configureGradientView() configureGradientView()
setupUI() setupUI()
self.navigationController?.interactivePopGestureRecognizer?.isEnabled = false
} }
override func viewDidAppear(_ animated: Bool) { override func viewDidAppear(_ animated: Bool) {
......
...@@ -144,7 +144,7 @@ class SecretViewController: BaseViewController { ...@@ -144,7 +144,7 @@ class SecretViewController: BaseViewController {
} }
secretDesc.snp.makeConstraints { make in secretDesc.snp.makeConstraints { make in
make.left.equalTo(secretTL.snp.left) make.left.equalTo(secretTL.snp.left)
make.top.equalTo(secretTL.snp.bottom).offset(2) make.top.equalTo(secretTL.snp.bottom).offset(12)
} }
secretLock.snp.makeConstraints { make in secretLock.snp.makeConstraints { make in
make.right.equalToSuperview().offset(-28) make.right.equalToSuperview().offset(-28)
......
...@@ -701,6 +701,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro ...@@ -701,6 +701,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro
if type == 0 { if type == 0 {
let config = CameraConfiguration() let config = CameraConfiguration()
let vc = CameraController(config: config, type: .all, delegate: self) let vc = CameraController(config: config, type: .all, delegate: self)
vc.modalPresentationStyle = .overFullScreen
guard let root = cWindow?.rootViewController else { return } guard let root = cWindow?.rootViewController else { return }
root.present(vc, animated: true) root.present(vc, animated: true)
}else{ }else{
...@@ -708,6 +709,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro ...@@ -708,6 +709,7 @@ class SecretPhotoManager: NSObject, PhotoPickerControllerDelegate , CameraContro
config.selectMode = .multiple config.selectMode = .multiple
config.maximumSelectedCount = 4 config.maximumSelectedCount = 4
let vc = PhotoPickerController(picker: config, delegate: self) let vc = PhotoPickerController(picker: config, delegate: self)
vc.modalPresentationStyle = .overFullScreen
guard let root = cWindow?.rootViewController else { return } guard let root = cWindow?.rootViewController else { return }
root.present(vc, animated: true) root.present(vc, animated: true)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment