I have created a subclass of UIActivity to present a custom activity on the Activity Sheet within my app. However I cannot get it to show my icon.
I have tried a few different images at typical icon sizes, e.g.:
- (UIImage *)activityImage {
return [UIImage imageNamed:@"my_app_icon.png"];
}
but I just get a gray square and my icon does not show at all.
EDIT: the real problem was that my XCode docs were out of date, so I did not have the information that the maximum image size is very limited.