开发者

Suggestions on adding a comments section to my iPhone app? [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question 开发者_开发百科

I want to add a comments section to my iPhone app and i wondered if anyone have any ideas of how to that?

Thanks.

UPDATE I'm sorry it was my first time asking.. I rephrased myself here


I assume you're wanting to give your users a way of writing comments about your apps, for you to receive feedback. One good way to do this is by allowing to user to compose an email which is addressed to you. Use a FMailComposeViewController to present the email interface. Include the MessageUI.framework in your project.
Declare your view controller to be a MFMailComposeViewControllerDelegate. Then when you want the message view to appear:

MFMailComposeViewController *myMailViewCon = [[MFMailComposeViewController alloc] init];
[myMailViewCon setMailComposeDelegate:self];
//set it's contents
[myMailViewCon setSubject:@"app feedback"];
[myMailViewCon setToRecipients:@"yourAddress@email.com"];
[myMailViewCon setMessageBody:@"Dear app developer, here are my comments:"] isHTML:NO];

[self presentModalViewController:myMailViewCon animated:YES];
[myMailViewCon release];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜