UIActivityViewController crashing on iOS 8 iPads

On iPad the activity view controller will be displayed as a popover using the new UIPopoverPresentationController, it requires that you specify an anchor point for the presentation of the popover using one of the three following properties: barButtonItem sourceView sourceRect In order to specify the anchor point you will need to obtain a reference to … Read more

How can I create a custom UIActivity in iOS?

First, create the files. I chose to name mine ActivityViewCustomActivity Make ActivityViewCustomActivity.h look like this: #import <UIKit/UIKit.h> @interface ActivityViewCustomActivity : UIActivity @end Make ActivityViewCustomActivity.m look like this: #import “ActivityViewCustomActivity.h” @implementation ActivityViewCustomActivity – (NSString *)activityType { return @”yourappname.Review.App”; } – (NSString *)activityTitle { return @”Review App”; } – (UIImage *)activityImage { // Note: These images need … Read more