开发者

Mail sharing option not visible

I am using ShareKit in my iphone app I am currently developing and would like to implement sharing by Facebook, Twitter, Tumblr and by Mail. I have set up everything but the problem is that all of theese options are visible in sharing menu that is displayed when custom share button is tapped except the Mail option so i am not sure what i am doing wrong.

开发者_开发百科

In SHK.m class file in favoriteSharersForType method i've set up favorite sharers this way:

favoriteSharers = [NSArray arrayWithObjects:@"SHKFacebook", @"SHKTwitter", @"SHKTumblr", @"SHKMail", nil];

and only Mail options is not visible, i also tried to set it up with only Mail option as test:

favoriteSharers = [NSArray arrayWithObjects: @"SHKMail", nil];

but even then Mail option isn't displayed.

Does anyone know what i might be doing wrong, any suggestions?

Thanks in advance


well are you running your code on simulator or device? if you are running your code on device do you have any email account setup in that device?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜