Ryasnoy / AppLocker

AppLocker - simple lock screen for iOS Application ( Swift 4+, iOS 9.0+) Touch ID / Face ID
MIT License
211 stars 46 forks source link

present full screen iOS 13 #16

Open syedrazackimran opened 5 years ago

syedrazackimran commented 5 years ago
 if #available(iOS 13.0, *) {
        locker.isModalInPresentation = true
    } else {
        // Fallback on earlier versions
    }
    locker.modalPresentationStyle = .fullScreen

i need to present applocker fullscreen i add some codes on

class func present(with mode: ALMode, and config: ALAppearance? = nil) { but still, it's not coming with fullscreen also I changed in xib PresentationStyle = .fullScreen

Savchukv commented 5 years ago
 if #available(iOS 13.0, *) {
        locker.isModalInPresentation = true
    } else {
        // Fallback on earlier versions
    }
    locker.modalPresentationStyle = .fullScreen

i need to present applocker fullscreen i add some codes on

class func present(with mode: ALMode, and config: ALAppearance? = nil) {

but still, it's not coming with fullscreen also I changed in xib PresentationStyle = .fullScreen

Hello! You need in AppLocker file find 247 row and insert this: locker.modalPresentationStyle = .fullScreen root.present(locker, animated: true, completion: nil)

For me is working :)

syedrazackimran commented 5 years ago
 if #available(iOS 13.0, *) {
        locker.isModalInPresentation = true
    } else {
        // Fallback on earlier versions
    }
    locker.modalPresentationStyle = .fullScreen

i need to present applocker fullscreen i add some codes on class func present(with mode: ALMode, and config: ALAppearance? = nil) { but still, it's not coming with fullscreen also I changed in xib PresentationStyle = .fullScreen

Hello! You need in AppLocker file find 247 row and insert this: locker.modalPresentationStyle = .fullScreen root.present(locker, animated: true, completion: nil)

For me is working :)

that presentFullScreen resolved it's not coming on the simulator on real device it's working fine.

I saw you used Square Valet but I didn't see you implement on code, you store Passcode on the userdefaults only

Savchukv commented 5 years ago
 if #available(iOS 13.0, *) {
        locker.isModalInPresentation = true
    } else {
        // Fallback on earlier versions
    }
    locker.modalPresentationStyle = .fullScreen

i need to present applocker fullscreen i add some codes on class func present(with mode: ALMode, and config: ALAppearance? = nil) { but still, it's not coming with fullscreen also I changed in xib PresentationStyle = .fullScreen

Hello! You need in AppLocker file find 247 row and insert this: locker.modalPresentationStyle = .fullScreen root.present(locker, animated: true, completion: nil) For me is working :)

that presentFullScreen resolved it's not coming on the simulator on real device it's working fine.

I saw you used Square Valet but I didn't see you implement on code, you store Passcode on the userdefaults only

ок) I use old version, yes.

syedrazackimran commented 5 years ago

is it any possibility to get the passcode, bcz you used privately to set and get the passcode. my scenario if the user not saved passcode I need to set up as an create mode, else I need to set validate mode.