NewsBlur/clients/ios/Classes/UIActivitiesControl.h
Nicholas Riley 03fdfd5409 Show Send To in a popover on iPad.
UIActivityViewController should not be presented modally on iPad, per the documentation; it also looks pretty ugly.

Also clean up display of training popover to eliminate shadow fading in background.
2013-09-07 02:35:47 -05:00

20 lines
510 B
Objective-C

//
// UIActivitiesControl.h
// NewsBlur
//
// Created by Samuel Clay on 7/19/13.
// Copyright (c) 2013 NewsBlur. All rights reserved.
//
#import <Foundation/Foundation.h>
@class UIActivityViewController;
@interface UIActivitiesControl : NSObject
@property (nonatomic, retain) UIPopoverController *popover;
+ (UIActivityViewController *)activityViewControllerForView:(UIViewController *)vc;
+ (UIActivityViewController *)activityViewControllerForView:(UIViewController *)vc withUrl:(NSURL *)url;
@end