added social sharing functions for iPad