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
Typedefs
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