Apple Review Reject By 1. 2 Safety: User Generated Content

周末提交了APP等待苹果审核,很快就来了“捷报”。

Guideline 1.2 - Safety - User Generated Content

We found in our review that your app includes user-generated content but does not have all the required precautions. Apps with user-generated content must take specific steps to moderate content and prevent abusive behavior.

Next Steps

To resolve this issue, please revise your app to implement the following precaution:

A mechanism for users to block abusive users
Resources

Learn more about our policies for user-generated content in App Store Review Guideline 1.2.

翻阅了相关的资料,大致意思就是没有提供黑名单机制。所以这两天就开始实现这个功能。

查看了微博相关的功能,针对用户,微博提供了两个功能

  • 举报
  • 加入黑名单

所以相对于关注这个功能,黑名单是相对独立的。不过需要考虑的是,黑名单和关注是否冲突,即能否同时关注又黑名单,如果能,那么这个用户的内容是否显示?

个人认为是冲突的,即如果在黑名单里,那么就不能在关注列表里,反之亦然。

因此,如果执行加入黑名单时,需要查看当前用户是否在关注列表中,如果在,那么需要提醒用户,加入黑名单会取消关注。反之,执行关注时,需要查看当前用户是否在黑名单中,如果在,那么需要提醒用户,关注会移出黑名单。

既然黑名单和关注是相对独立的两个内容,那么数据库中,会单独创建张BlackList表,用于添加黑名单记录(基本只需要fromUser,toUser这两个字段,用于记录谁拉黑了谁)

被拉黑的用户,所有内容都不能呈现,所以在查询Article,Question,Comment,Answer的内容时,需要查看内容生成者是否是被当前用户拉黑。

此外,需要注意的是,推送消息也需要考虑是否拉黑,这个功能在服务器的Cloud Code中实现,推送时,从fromUser发送推送给toUser,需要考虑toUser是否拉黑了fromUser,如果是的话,则不需要发送推送。


下面是回答APPLE Review Team的内容

Thank for your comments。

I implemented a mechanism for users to block abusive users in 1.0 build 17。 The details are described as below:

  1. Add "Report User(举报)" functionality in User Profile View Controller。
  • Report User functionality will submit a message to Administrator with a reason。 Administrator will check the message and do Actions (like block account, etc) if reported user broke User Terms.
report user.png
  1. Add "Block User(加入黑名单)" functionality in User Profile View Controller。
  • User can add other users into his black list to prevent contents generated by them.


    block user.png
  1. Manage black list
  • User can check his black list in his User Profile View Controller and do further managing.
manage black list.png

你可能感兴趣的:(Apple Review Reject By 1. 2 Safety: User Generated Content)