| | |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKButton.h> |
| | | #import "TargetConditionals.h" |
| | | |
| | | #import <FBSDKLoginKit/FBSDKLoginManager.h> |
| | | #if TARGET_OS_TV |
| | | |
| | | @interface FBLoginButton : UIView |
| | | |
| | | @property (copy, nonatomic) NSArray<NSString *> *permissions; |
| | | |
| | | @end |
| | | |
| | | #else |
| | | |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | #import "FBSDKLoginManager.h" |
| | | #import "FBSDKTooltipView.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | |
| | | Gets or sets the delegate. |
| | | */ |
| | | @property (weak, nonatomic) IBOutlet id<FBSDKLoginButtonDelegate> delegate; |
| | | /** |
| | | Gets or sets the login behavior to use |
| | | */ |
| | | @property (assign, nonatomic) FBSDKLoginBehavior loginBehavior |
| | | DEPRECATED_MSG_ATTRIBUTE("All login flows utilize the browser. This will be removed in the next major release"); |
| | | |
| | | /*! |
| | | @abstract The permissions to request. |
| | | @discussion To provide the best experience, you should minimize the number of permissions you request, and only ask for them when needed. |
| | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |