FBNativeDialogs
Cette classe n’est plus disponible dans la version la plus récente du SDK.
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

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

Inherits from:NSObject
Declared in:FBNativeDialogs.h
Méthodes Class
canPresentShareDialogWithSession:

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

ParamètreDescription
session

Deprecated

+ (BOOL) canPresentShareDialogWithSession:(FBSession *)session __attribute__((deprecated));
Déclaré dans : 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.

ParamètreDescription
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));
Déclaré dans : 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.

ParamètreDescription
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));
Déclaré dans : 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.

ParamètreDescription
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));
Déclaré dans : 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

Déclaré dans : 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));
Déclaré dans : 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

Déclaré dans : FBNativeDialogs.h