FBNativeDialogs
This class is no longer available in the most recent version of the SDK.
A more recent version of this class is available. Check out the latest version.

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

Inherits from:NSObject
Declared in:FBNativeDialogs.h
Class Methods
canPresentShareDialogWithSession:

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

ParameterDescription
session

Deprecated

+ (BOOL) canPresentShareDialogWithSession:(FBSession *)session __attribute__((deprecated));
Declared In: 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.

ParameterDescription
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));
Declared In: 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.

ParameterDescription
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));
Declared In: 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.

ParameterDescription
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));
Declared In: 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

Declared In: 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));
Declared In: 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

Declared In: FBNativeDialogs.h