Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

present full screen iOS 13 #16

Open
syedrazackimran opened this issue Oct 23, 2019 · 4 comments
Open

present full screen iOS 13 #16

syedrazackimran opened this issue Oct 23, 2019 · 4 comments

Comments

@syedrazackimran
Copy link

syedrazackimran commented Oct 23, 2019

 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
Copy link

Savchukv commented Oct 24, 2019

 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
Copy link
Author

 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
Copy link

 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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants