Skip to content

Commit

Permalink
Unmericiful hacking of the Airdrop share item to turn it into a More …
Browse files Browse the repository at this point in the history
…option instead
  • Loading branch information
prendio2 committed Oct 3, 2014
1 parent d04ef7f commit 712ec93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Overshare Kit/OSKAirDropActivity.m
Expand Up @@ -40,7 +40,7 @@ + (NSString *)activityType {
}

+ (NSString *)activityName {
return @"AirDrop";
return @"More";
}

+ (UIImage *)iconForIdiom:(UIUserInterfaceIdiom)idiom {
Expand Down
11 changes: 1 addition & 10 deletions Overshare Kit/OSKAirDropViewController.m
Expand Up @@ -23,17 +23,8 @@ - (instancetype)initWithAirDropItem:(OSKAirDropContentItem *)item {
if (self) {
[self setExcludedActivityTypes:@[UIActivityTypePostToFacebook,
UIActivityTypePostToTwitter,
UIActivityTypePostToWeibo,
UIActivityTypeMessage,
UIActivityTypeMail,
UIActivityTypePrint,
UIActivityTypeCopyToPasteboard,
UIActivityTypeAssignToContact,
UIActivityTypeSaveToCameraRoll,
UIActivityTypeAddToReadingList,
UIActivityTypePostToFlickr,
UIActivityTypePostToVimeo,
UIActivityTypePostToTencentWeibo]];
UIActivityTypeMail]];
}
return self;
}
Expand Down

0 comments on commit 712ec93

Please sign in to comment.