|
|
@@ -38,6 +38,19 @@ NSString *const LPActivityType = @"com.emerys.www.share.activity";
|
|
|
* 服务显示图标
|
|
|
*/
|
|
|
- (UIImage *)activityImage {
|
|
|
+
|
|
|
+ // Note: These images need to have a transparent background and I recommend these sizes:
|
|
|
+ // iPadShare@2x should be 126 px, iPadShare should be 53 px, iPhoneShare@2x should be 100
|
|
|
+ // px, and iPhoneShare should be 50 px. I found these sizes to work for what I was making.
|
|
|
+
|
|
|
+// if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
|
|
|
+// {
|
|
|
+// return [UIImage imageNamed:@"iPadShare.png"];
|
|
|
+// }
|
|
|
+// else
|
|
|
+// {
|
|
|
+// return [UIImage imageNamed:@"iPhoneShare.png"];
|
|
|
+// }
|
|
|
return [UIImage imageNamed:@"ic_email"];
|
|
|
}
|
|
|
|