Featured iPhone Development Resources iOS UI Controls iPad iPhone Objective-C

Customizable UIActivityController Replacement iOS UI Control That Works On iOS 5

Here’s a UI control called REActivityViewController from Roman Efimov that looks like a UIActivity view, but allows for full color icons, total customization, and the control works with iOS 5.0. The control looks and works as expected on iPhone and iPad.

This is not simply a control that looks like UIActivityController, but also makes it much easier to create custom activities.

Here’s an example from the readme showing how easy it is to create a custom activity controller:

REActivity *customActivity = [[REActivity alloc] initWithTitle:@"Custom"
                                                         image:[UIImage imageNamed:@"REActivityViewController.bundle/Icon_Custom"]
                                                   actionBlock:^(REActivity *activity, REActivityViewController *activityViewController) {
                                                       [activityViewController dismissViewControllerAnimated:YES completion:^{
                                                           NSLog(@"Hey, there!");

Here are a couple of images from the readme showing the iPhone version of the included example app running:


You can find REActivityViewController on Github here.

The control has the expected activities built-in along with some others such as Tumblr, and Vkontakte – you can see it all in the included example.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.