I am trying to implement a custom activity to the standard activities (Print, Mail, FaceBook, etc.) but for now only want the standard Print (for AirPrint) and my own custom
@troop231 - great answer, and very helpful.
The only thing I'd add is to be sure to signal completion of the operation or the completion routine won't get called and the popover won't dismiss. Something like:
- (void)performActivity {
NSLog(@"Do the actual activity here");
// My custom code here
[self activityDidFinish:YES]; // indicate completion here!!
}