FBNativeDialogs
最新版的 SDK 已不支持此类。
这个类有新版本。查看 最新版本。

Please note that FBNativeDialogs has been deprecated, please migrate your code to use FBDialogs.

Inherits from:NSObject
Declared in:FBNativeDialogs.h
类方法
canPresentShareDialogWithSession:

Please note that this method has been deprecated, please migrate your code to use FBDialogs and the related method canPresentOSIntegratedShareDialogWithSession.

参数描述
session

Deprecated

+ (BOOL) canPresentShareDialogWithSession:(FBSession *)session __attribute__((deprecated));
声明语言: FBNativeDialogs.h
presentShareDialogModallyFrom:initialText:image:url:handler:

Please note that this method has been deprecated, please migrate your code to use FBDialogs and the related method presentOSIntegratedShareDialogModallyFrom.

参数描述
viewController

Deprecated

initialText

Deprecated

image

Deprecated

url

Deprecated

handler

Deprecated

+ (BOOL)
presentShareDialogModallyFrom: (UIViewController *)viewController
initialText: (NSString *)initialText
image: (UIImage *)image
url: (NSURL *)url
handler: (FBShareDialogHandler)handler
__attribute__((deprecated));
声明语言: FBNativeDialogs.h
presentShareDialogModallyFrom:initialText:images:urls:handler:

Please note that this method has been deprecated, please migrate your code to use FBDialogs and the related method presentOSIntegratedShareDialogModallyFrom.

参数描述
viewController

Deprecated

initialText

Deprecated

images

Deprecated

urls

Deprecated

handler

Deprecated

+ (BOOL)
presentShareDialogModallyFrom: (UIViewController *)viewController
initialText: (NSString *)initialText
images: (NSArray *)images
urls: (NSArray *)urls
handler: (FBShareDialogHandler)handler
__attribute__((deprecated));
声明语言: FBNativeDialogs.h
presentShareDialogModallyFrom:session:initialText:images:urls:handler:

Please note that this method has been deprecated, please migrate your code to use FBDialogs and the related method presentOSIntegratedShareDialogModallyFrom.

参数描述
viewController

Deprecated

session

Deprecated

initialText

Deprecated

images

Deprecated

urls

Deprecated

handler

Deprecated

+ (BOOL)
presentShareDialogModallyFrom: (UIViewController *)viewController
session: (FBSession *)session
initialText: (NSString *)initialText
images: (NSArray *)images
urls: (NSArray *)urls
handler: (FBShareDialogHandler)handler
__attribute__((deprecated));
声明语言: FBNativeDialogs.h
Typedef
FBNativeDialogResult

Please note that this enum and its related methods have been deprecated, please migrate your code to use FBOSIntegratedShareDialogResult and its related methods.

typedef NS_ENUM(NSUInteger, FBNativeDialogResult) {
FBNativeDialogResultSucceeded,
FBNativeDialogResultCancelled,
FBNativeDialogResultError
} __attribute__((deprecated));
Discussion:

Enum

声明语言: FBNativeDialogs.h
FBShareDialogHandler

Please note that FBShareDialogHandler and its related methods have been deprecated, please migrate your code to use FBOSIntegratedShareDialogHandler and its related methods.

typedef void (^FBShareDialogHandler)(
FBNativeDialogResult result,
NSError *error) __attribute__((deprecated));
声明语言: FBNativeDialogs.h
NS_ENUM

Please note that this enum and its related methods have been deprecated, please migrate your code to use FBOSIntegratedShareDialogResult and its related methods.

typedef NS_ENUM(NSUInteger, FBNativeDialogResult) {
FBNativeDialogResultSucceeded,
FBNativeDialogResultCancelled,
FBNativeDialogResultError
} __attribute__((deprecated));
Discussion:

Enum

声明语言: FBNativeDialogs.h