CocoaPods trunk is moving to be read-only. Read more on the blog, there are 6 months to go.

AntiReviewHandler 0.1.0

AntiReviewHandler 0.1.0

Maintained by LinusLing.



  • By
  • linus

AntiReviewHandler

根据动态的标记,做相应的动态处理。

How to use

  1. #import <AntiReviewHandler/AntiReviewHandler.h>

  2. 配置默认的审核开关,后续以 saveInReviewSwitchFromServer: 设置的开关为准

    [AntiReviewHandler configureDefaultInReviewSwitch:yesOrNo];

  3. 保存服务端返回的审核开关标志

    [AntiReviewHandler saveInReviewSwitchFromServer:yesOrNo];

  4. 针对审核开关的相关处理

    [AntiReviewHandler dealInReviewWithSwitchOnBlock:^{
        NSLog(@"inReview");
    } SwitchOffBlock:^{
        NSLog(@"notInReview");
    }];

Installation

pod 'AntiReviewHandler'

License

AntiReviewHandler is available under the MIT license. See the LICENSE file for more info.