AAActivityAction is Reeder like ActionSheet. Method architecture is inspired by UIActivity
and UIActivityViewController
.
not registerted yet.
- Link
QuartzCore
framework. - Drag the
AAActivityAction
folder to your project.
- iOS 4 or higher.
QuartzCore
framework.- ARC.
AAActivity *activity = [[AAActivity alloc] initWithTitle:@"Safari"
image:[UIImage imageNamed:@"Safari.png"]
actionBlock:^(AAActivity *activity, NSArray *activityItems) {
// do something...
}];
AAActivityAction *activityAction = [[AAActivityAction alloc] initWithActivityItems:@[@"http://www.apple.com/"]
applicationActivities:@[activity]
imageSize:AAImageSizeSmall];
activityAction.title = @"sample title";
[activityAction show];
// or showInView
// [activityAction showInView:view];
MIT License.