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
SFSafariViewController not implemented #46
Comments
You're in the right spot for "feature requests", I'm flagging this as an enhancement. |
This would be so awesome! :) +1 |
👍 💥 🙌 |
Implemented on the master branch; iOS 9 will now automatically use |
@p2 thanks! I'm having one problem though, I updated the repository, but for some reason calling authorise() now gives me a blank white view. Here is the code I'm using - |
Is this from inside a UIViewController? What is I should also mention that now one needs to intercept the callback in the app delegate, see here: |
@p2 blog is an extra parameter I wanted to pass (I'm using wordpress authentication) |
Also, the |
Does it work correctly if you set |
@p2 yeah, it does. Btw I was using the OS browser before so i have already implemented |
You need to be more specific. Does it now show the old built-in web view? Is there an error logging when using the Safari view? What can you see when you use Xcode's view debugging? Goes the view blank just like that or is a white view presented? ... |
@p2 It shows a completely white screen, throwing absolutely no errors. Also, although the view is a master split screen view controller, even on the iPad it shows in fullscreen mode. |
@p2 wait... so it doesn't seem to be |
Hmmm interesting. Yeah the fullscreen thing might be something that not everybody wants, certainly not on iPad. |
@p2 it could be because of the |
@p2 I figured it out. Apparently |
Yes, use the appear methods for that. |
…-onepassword # By Pascal Pfiffner (60) and others # Via Pascal Pfiffner * 'master' of https://github.com/p2/OAuth2: (73 commits) Update docs generator Update SwiftKeychain submodule Update to 2.0.1 Remove println() in README for Swift 2. Use SFSafariViewController, fixes p2#46 Nicer state handling Update podspec to 2.0.0 Fix documentation keywords Update to 1.2.9 Add only-if-needed to DynReg method Documentation update Update readme Bump version to 1.2.8 Update for Xcode 7 beta 6. Swift 2.0 update Fix README Allow to customize back-button (fixes p2#40) Also check HTTP status Updated to do failure conditions the better way within the library, thanks! Oops, I always used the positive case for password, not the negative. Fix OAuth Password grant to check if token is granted by server. ... Conflicts: OAuth2/OAuth2CodeGrant.swift
I'm not too sure where to ask this (GitHub repositories don't really have feature request pages), but is it possible to add
SFSafariViewController
to this framework? Now that we can submit iOS 9 apps, I'm sure that it would be a much better user experience.The text was updated successfully, but these errors were encountered: