I'd like to add a share button to the navigation bar in a webview that when pressed gives the options to open the link in Safari, Email the link, share on facebook, tweet it. Can anyone point me in the right direction on how to go about this?
Try BCDShareSheet. It includes sharing with Email, Twitter, and Facebook, but it lacks opening in Safari, but it should be trivial to add it.
Related
In my app I have a WKWebView to browse Internet in general, it's not tied to a specific website. I'd like to let the users to have login forms auto filled directly from the KeyChain.
When I tap the fields, in the QuickType bar I can see a "Passwords" button to open the passwords list, then I can search the website and finally the WKWebView fills the information.
I'd like to have a much more direct experience like on Safari, please see the screenshots.
My app when I tap on the textfield:
The list appearing when you tap the "Passwords" button:
This is Safari when tapping on the text field:
I don't want to fill the information via Javascript.
Is there a way to do this or is it just a Safari thing?
I have written an app that uses Facebook login via the FBSDKLoginButton. The login window shows up and the user can login using their Facebook email and passowrd... that all works great!
I am trying to figure out how to make the login window show our company logo but I cannot find this anywhere in the documentation.
Can someone point me in the right direction? I have seen many other iOS Apps that use FB Login and have their logo displayed so I know it can be done.
Here is a screenshot:
You should change the app icon of your Facebook app in order to do that.
Navigate to developers.facebook.com.
Click on My Apps on the top right corner.
Select your app.
Select Settings/Basic from the menu on the left.
Hover over the section called App Icon (which is on the bottom left of the first editable section) and click on the Edit button.
I want to add a Share bar button item to my top Navigation Bar that works like the one in Safari (send a link via SMS Message, copy a link, etc), are developers allowed access to that, or is it something where I have to create my own?
Found out you can do this with UIActivityViewController!
Let me know if you have any questions on this-
On my iPhone, when I view a photo I see a "send" button on the bottom toolbar; when I click this I see a menu screen with Mail, Message, Twitter, Facebook, Assign to Contact, Print, Copy and Use as Wallpaper icons.
Is there any way to get my app added to this list, and if so how do I set up my app to receive notification of this event and get access to the photo that is being viewed?
I had this exact same question and for whatever reason it took me a very long time to find this answer on stackoverflow that helped me. I hope it helps you.
Problems adding custom activity to UIActivityController
I'm trying to add the Twitter Share button to my website. I've gone to https://twitter.com/about/resources/buttons#tweet and added the code to my html, but the "button" only shows up as a hyperlink.
Can someone tell me how to make the button look exactly like the normal twitter button that shows up on other sites?
Thanks.
I was able to make it work by changing the code that says
id;js.src="//platform.twitter.com/widgets.js
to
id;js.src="http://platform.twitter.com/widgets.js