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
Change close text / done button #70
Comments
|
@jvjvjv Can you please link to the doc for that iOS 11+ feature? Thx! |
@EddyVerbruggen Here's a link: https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller.dismissbuttonstyle Here's some screenshots from a pdf I found (page 86-90) |
Interesting. But it's iOS 11 Beta only for now: https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller.dismissbuttonstyle?changes=latest_minor |
@EddyVerbruggen Now that iOS 11 is out of beta is it likely that dismissButtonStyle will be added as a configurable option to the plugin? |
Anyone up for the challenge? |
@EddyVerbruggen @simonwatt Got a deadline on this? I've already created a branch. |
Oh goodness. All the errors I'm getting in the XCode project now! |
@jvjvjv Did you ever end up having any success with getting this to work? |
I know this is an old question but I hope this might help someone... I put dismissButton: 1 in options:
And in SafariViewController.m file I put this code below right after vc.delegate = self:
According to @jayj comment and Apple documentation now I can choose Done, Close or Cancel label for dismiss button. =) I'm using deployment target iOS 12. |
this should be a pull request, nice @nivaldocavalcanti , and maybe for Ionic developers need to update |
any progress on this? |
Still people out there using Cordova? 😅 |
Unfortunately, yes. LOL Legacy code be damned. We are planning migration to new stuff though. But things still work, so tweaking things here and there makes more sense until a full re-write is completed. |
Hi @EddyVerbruggen ,
is it possible to change the "Done" Button text? I know it's not implemented, but prob. possible to implement? Any Ideas? Also, is it possible to "lift it up" on iPad like it does on the iPhone? Is it possible to decide where the "done" button has to be? (on the right side e.g. instead of the left)
I know these are many questions, but I am just asking what my customer was asking :D
Thanks for your support
The text was updated successfully, but these errors were encountered: