
These integrations also enable us and our partners to serve ads on Facebook will use information received in accordance with ourĭata Use Policy, including to provide you with insights about theĮffectiveness of your ads and the use of your app. Information about people’s use of your app.

Please monitor the changelog for updates to existing interfaces but keep in mind that some interfaces will be unstable during this process.
#SWIFT SHARE THROUGH FACEBOOK CODE#
We have begun rewriting the iOS SDK in Swift in order to modernize the code base. 👋 The SDK team is eager to learn from you! Fill out this survey to tell us what’s most important to you and how we can improve. To see information about the latest release, consult our changelog. Please take a moment and subscribe to releases so that you can be notified about new features, deprecations, and critical fixes. Learn more about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more See SKPhotoBrowserDelegate for more details.This open-source library allows you to integrate Facebook into your iOS app. There's some trigger point you can handle using delegate. Vertical swipe can enable/disable: SKPhotoBrowserOptions.disableVerticalSwipe = true Photo.caption = "Lorem Ipsum is simply dummy text of the printing and typesetting industry." by setting the caption property on specific photos: let photo = SKPhoto.photoWithImage(UIImage()) Photo captions can be displayed simply bottom of PhotoBrowser.

detect button tap from removePhoto delegate function. You can delete your photo for your own handling. = CustomImageCache()Ĭlose, Delete buttons are able to change image and frame. replace SKCache instance with custom cache Present(browser, animated: true, completion: Let browser = SKPhotoBrowser(photos: images) create PhotoBrowser Instance, and present from your viewController. Let photo = SKPhoto.photoWithImage(UIImage())// add some UIImage
#SWIFT SHARE THROUGH FACEBOOK HOW TO#
See the code snippet below for an example of how to implement, or see the example project.įrom UIImages: // 1. Below is a table that shows which version of SKPhotoBrowser you should use for your Swift version.Īvailable in Swift Package Manager. By set displayDelete=true show a delete icon in statusbar, deleted indexes can be obtain from delegate func didDeleted (hide/ show toolbar for controls, / swipe control)

Photos can be zoomed and panned, and optional captions can be displayed.Display one or more images by providing either UIImage objects, or string of URL array.Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift
