A simple API to share your content between apps. Basically a wrapper over the UIActivityViewController
Add the under-os-sharing into your Gemfile then in your code you should be able to run the following
sharing = UOS::Sharing.new
sharing.share("Message", UIImage...)By default this package will use all the matching services/apps that are currently registered against the iOS,
but you can limit the number of options by specifying the black list with the :exclue option
sharing = UOS::Sharing.new(:exclude => %w[facebook email])Or you can specify the white list with the :receivers option
sharing = UOS::Sharing.new(:receivers => %w[twitter message])instagramfacebooktwitterflickrvimeoweibo- ask applemessage- open up in the iMessageemailprintcopycontact- open in the contacts appsave- save to the photo album (for images)reading- add to the reading listairdrop- share via the airdrop
All code in this repository released under the terms of the MIT license
Copyright (C) 2014 Nikolay Nemshilov