Social Sharing Palette in iOS6 - ios

I noticed in iOS6 that when you select a photo in your photo library, and push the the "arrow in a square button", it brings up a palette with icons that enable the user to share the photo (ie icons for mail, message, photo stream, twitter, Facebook, etc). I'm wondering, is there any library in iOS6 that has a palette like this built in? (I know separately there is SLComposeViewController and MFMailComposeViewController). If there isn't, would Apple have issue if you built a palette identical to the one they have (same icons, etc)?

This is a UIActivityViewController.

Related

How do I share a link to Whatsapp on Xamarin.iOS?

I'm working on a cross-platform PLC project on Xamarin.Forms. Specifically on iOS and Android.
In one of the views I have 3 sharing buttons, one for Whatsapp, one for Snapchat and one for general sharing. The idea is that when the user taps on one of these he sends an invitation (a deep link) to his friends trough social media.
I've implemented some android-specific code to share a link trough Whatsapp or Snapchat when tapping those buttons, and to show the normal sharing screen to pick an app on the other share button. For this I just used Intent.SetPackage method to share on the specific apps.
On iOS however, even tho there's a code to open the general sharing screen, I couldn't find any code to send the link to Whatsapp or Snapchat specifically.
My question would be, is there a way to achieve this on iOS?
This could maybe be a solution for WhatsApp, https://faq.whatsapp.com/en/general/26000030
Snapchat: Snapchat url scheme not working properly - camera opens but not profile
On the end we didn't find what we where looking for, but we noticed apps usually just have a common share button on iOS, so we left only the normal sharing code in iOS.

Sharing a photo from an ios app

Given that I have a UIImage instance in my app how could I get
ios to show the image sharing dialog (Mail, add to notes, twitter, fb,
save image, etc)
Upon a cursory look to PHAsset I haven't found anything prominent :-(
You can search for UIActivityViewController. This class will display a dialog, having all sharing apps listed within dialog.

Twitter share button for iOS app

I'm creating a separate Twitter share button for my iOS app. The image for the twitter share button, am I allowed to make my own version of Twitter's logo for my app as long as users know the button is for twitter? Or am I only supposed to use the exact white bird and blue background image for my share button to indicate twitter? I can't seem to find anywhere on twitter for developers to download the twitter icon button to use for my iOS share button?
The rules for using twitter's logo can be found here as well as links to download the logo for your use.
https://about.twitter.com/press/brand-assets
Don’t:
Use any other artwork from our site, such as the verified badge.
Create your own buttons or images using our logos unless technically necessary, such as in signature bars. If you do, use this resized
version of the Twitter bird
Use old versions or any other marks or logos to represent our brand

Load picture with native photo viewer

I've been looking around and I just couldn't find anything that really fits my (very simple) needs.
I have a UIImage (as a NSData, then file, then image) that is displayed, and I'd like to be able to tap it and display the native "show", that has the little box & arrow icon where you can decide wether you wanna save the picture, or share it by mail, facebook, twitter, and so on.
Wherever i've looked I only found a great looking framework that clearly overkills my needs, or confusing information about PHAssets and PHImageManager.
I do not need to browse multiple photos, nor to see photos from albums. I just need to see my picture with the native "Share" button (box with outgoing arrow) and the native layout.
Is there such a thing available ? Without having to download a framework? Or should I just use the 5% of MWaterfall that i need?

iOS Facebook sdk open album select and image select screens

So basically i want a way to open a screen with my Facebook albums. I should be able to select
an album and then a screen with the images in that album should open and after selecting the image i
should get it's url or data. I think theres a way to do that with the Facebook sdk and by that i
mean that i don't have to create the albums/images screens they are already in the sdk but how
do i use them?
The Facebook SDK don't have this feature.
There are some interesting projects on github for example: https://github.com/bradtheappguy/BSFacebookImagePicker

Resources