FBNativeDialogs
Lớp này không còn khả dụng trong phiên bản gần đây nhất của SDK.
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

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

Inherits from:NSObject
Declared in:FBNativeDialogs.h
Phương thức nhóm
canPresentShareDialogWithSession:

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

Thông sốMô tả
session

Deprecated

+ (BOOL) canPresentShareDialogWithSession:(FBSession *)session __attribute__((deprecated));
Đã tuyên bố trong: 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.

Thông sốMô tả
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));
Đã tuyên bố trong: 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.

Thông sốMô tả
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));
Đã tuyên bố trong: 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.

Thông sốMô tả
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));
Đã tuyên bố trong: 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

Đã tuyên bố trong: 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));
Đã tuyên bố trong: 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

Đã tuyên bố trong: FBNativeDialogs.h