The FBSDKMessengerSharer is used to share media from apps into Messenger. The underlying mechanism used to share data between apps is UIPasteboard
Superclass: | NSObject |
Declared in: | FBSDKMessengerSharer.h |
messengerPlatformCapabilities
This method checks the currently installed version of Messenger to see what SDK capabilities it has
+ (FBSDKMessengerPlatformCapability)
messengerPlatformCapabilities __attribute__((deprecated("This is deprecated as of iOS 9. If you use this, you must configure your plist as described in https://developers.facebook.com/docs/ios/ios9")));
Before sharing any media, first use this bitmask to check to see if it can be shared to Messenger
NS_OPTION(NSUInteger,
Used to test the platform capabilities the currently installed Messenger version has
typedef NS_OPTIONS(NSUInteger, FBSDKMessengerPlatformCapability) { FBSDKMessengerPlatformCapabilityNone = 0, FBSDKMessengerPlatformCapabilityOpen = 1 << 0, FBSDKMessengerPlatformCapabilityImage = 1 << 1, FBSDKMessengerPlatformCapabilityAnimatedGIF = 1 << 2, FBSDKMessengerPlatformCapabilityAnimatedWebP = 1 << 3, FBSDKMessengerPlatformCapabilityVideo = 1 << 4, FBSDKMessengerPlatformCapabilityAudio = 1 << 5, FBSDKMessengerPlatformCapabilityRenderAsSticker = 1 << 6, };
FBSDKMessengerPlatformCapability)
NS_OPTIONS
Used to test the platform capabilities the currently installed Messenger version has
typedef NS_OPTIONS(NSUInteger, FBSDKMessengerPlatformCapability) { FBSDKMessengerPlatformCapabilityNone = 0, FBSDKMessengerPlatformCapabilityOpen = 1 << 0, FBSDKMessengerPlatformCapabilityImage = 1 << 1, FBSDKMessengerPlatformCapabilityAnimatedGIF = 1 << 2, FBSDKMessengerPlatformCapabilityAnimatedWebP = 1 << 3, FBSDKMessengerPlatformCapabilityVideo = 1 << 4, FBSDKMessengerPlatformCapabilityAudio = 1 << 5, FBSDKMessengerPlatformCapabilityRenderAsSticker = 1 << 6, };
FBSDKMessengerPlatformCapability)