RBSharingService Class Reference
Inherits from | NSObject |
---|---|
Declared in | RBSharingService.h |
+ twitter
The Twitter social sharing service.
+ (nonnull RBSharingService *)twitter
Return Value
The service object.
Discussion
The Twitter social sharing service.
Declared In
RBSharingService.h
+ facebook
The Facebook social sharing service.
+ (nonnull RBSharingService *)facebook
Return Value
The service object.
Discussion
The Facebook social sharing service.
Declared In
RBSharingService.h
+ email
The Email social sharing service.
+ (nonnull RBEmailSharingService *)email
Return Value
The service object.
Discussion
The Email social sharing service.
Declared In
RBSharingService.h
serviceIsAvailable
Whether or not the service is available.
@property (nonatomic, readonly) BOOL serviceIsAvailable
Discussion
Whether or not the service is available.
Declared In
RBSharingService.h
– composeWithText:completion:
Open the relevant sharing compose UI with the given initial text.
- (BOOL)composeWithText:(nonnull NSString *)text completion:(nullable void ( ^ ) ( BOOL cancelled ))completion
Parameters
text |
The initial text to place in the compose UI. |
---|---|
completion |
An optional block to be called when the compose UI is concluded. |
Return Value
Whether or not compose was available and opened.
Discussion
Open the relevant sharing compose UI with the given initial text.
Declared In
RBSharingService.h