LuxChat  2.0
Instant messenger for iOS
Class Methods | List of all members
FBSDKMessengerShareButton Class Reference

#import <FBSDKMessengerButton.h>

Inheritance diagram for FBSDKMessengerShareButton:

Class Methods

(UIButton *) + rectangularButtonWithStyle:
 
(UIButton *) + circularButtonWithStyle:width:
 
(UIButton *) + circularButtonWithStyle:
 

Detailed Description

Provides a helper method to return a UIButton intended for sharing to Messenger

Method Documentation

+ (UIButton *) circularButtonWithStyle: (FBSDKMessengerShareButtonStyle)  style

Returns a circular UIButton customized for sharing to Messenger of default size

Parameters
styleSpecifies how the button should look
+ (UIButton *) circularButtonWithStyle: (FBSDKMessengerShareButtonStyle)  style
width: (CGFloat)  width 

Returns a circular UIButton customized for sharing to Messenger

Parameters
styleSpecifies how the button should look
widthThe desired frame width (and height) of this button.

This button's asset is drawn as a vector such that it scales appropriately using the width parameter as a hint. This hint is to prevent button resizing artifacts.

+ (UIButton *) rectangularButtonWithStyle: (FBSDKMessengerShareButtonStyle)  style

Returns a rounded rectangular UIButton customized for sharing to Messenger

Parameters
styleSpecifies how the button should look

This button can be resized after creation

There is 1 string in the implemention of this button which needs to be translated by your app:

NSLocalizedString("Send", @"Button label for sending a message")


The documentation for this class was generated from the following file: