i want to show UIAcitivityitems in grid view on UIActivityViewController - ios

In my app i'm sharing some URL contents to Whatsapp, Google+ like this it will showing in UIActivityViewController.
In this UIActivityViewController
Facebook, Twitter, Whatsapp, Google+, etc.. these all are showing in a row like this below screen shot.
Is it possible instead of showing in row i want to show in gridview like this

Related

Hide URL preview of Twitter tweet

I have a Twitter button on my website to allow people to tweet from the site. I am setting the text of the tweet programmatically and I’m also including a link to my site.
Everything works except that Twitter is turning the link into a preview of my website. I don’t want the preview. I want the link to stay a link.
Is there a way to do that?
From this:
enter image description here
I get this:
enter image description here
But I want this:
enter image description here

Tweet text vanishes when adding mention or hashtag

In my App, I'm using UIActivityViewController to have users share urls via Twitter. This worked great prior to iOS9. Ever since the update to iOS9, this feature shows a strange effect when adding mentions or hashtags to the tweet. Scenario like this:
A user decides to share a url. User taps a button that opens an ActionSheet with all sharing options like SMS, WhatsApp, Email and Twitter.
User chooses Twitter, tweet editor opens filled with the url. Everything good so far.
User wants to add a mention or hashtag. User starts typing and selects an entry from the list of suggestions.
This results in the disappearance of the whole text from the tweet editor view. The app doesn't crash, just the text vanishes.
When adding a mention or hashtag just by typing #example_name or #examplehashtag rather than picking from the list, it works all fine.
I can observe the same behaviour on my iPhone 5S with soundcloud app, v3.14.0.
I'm sure others must have the same problem after updating to iOS9. Any help is highly appreciated.

Safari Share Sheet accessible to UIWebView?

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-

share content with image on twitter from my site

I have a site that has some photos and I need to add to each of them twitter share button.
When user clicks that twitter share button, it should post to twitter the image, some text and
link to my site.
I tried to uploaded photos to twitrpix and put link to photos like this:
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://mysite" data-text="http://twitrpix.com/c36at My test" >Tweet</a>
It works, but photos are not displayed in twitter until you click details. I would like photos to be
displayed all the time.
It looks like when I twit mamually adding photo using button with camera photo photo, the photo is
displayed all the time. How can I make it behave the same way when I share from my site?

Add Share Button to Naviagtion Bar

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.

Resources