Get Updates By E-mail 

Article Written By:
Johann Dowa

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:

reactivityviewcontroller-1

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments