co-maps/iphone/Maps/Classes/Share/MWMActivityViewController.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
704 B
C
Raw Normal View History

2025-11-22 13:58:55 +01:00
@protocol MWMPlacePageObject;
@class PlacePageData;
NS_ASSUME_NONNULL_BEGIN
NS_SWIFT_NAME(ActivityViewController)
@interface MWMActivityViewController : UIActivityViewController
+ (instancetype)shareControllerForMyPosition:(CLLocationCoordinate2D)location;
+ (instancetype)shareControllerForPlacePage:(PlacePageData *)data;
+ (instancetype)shareControllerForURL:(nullable NSURL *)url
message:(NSString *)message
completionHandler:(nullable UIActivityViewControllerCompletionWithItemsHandler)completionHandler;
- (void)presentInParentViewController:(UIViewController *)parentVC anchorView:(nullable UIView *)anchorView;
@end
NS_ASSUME_NONNULL_END