简体   繁体   English

开胃菜不起作用

[英]Appirater doesn't work

I'm trying to implement Appirater in my app. 我正在尝试在我的应用中实施Appirater。 I've followed the instructions in the read me, and the app runs fine in Xcode. 我已按照自述文件中的说明进行操作,该应用程序在Xcode中运行良好。 But no message is shown, no matter how many times i try to run it. 但是无论我尝试运行多少次,都不会显示任何消息。 I have edited the #defines, so the problem shouldn't be there. 我已经编辑了#defines,所以问题不应该在那里。 When APPIRATER_DEBUG is enabled, it also doesn't show anything. 启用APPIRATER_DEBUG后,它也不显示任何内容。 I've tried cleaning the project, but that didn't seem to work. 我曾尝试清理该项目,但这似乎没有用。

You imported Appirater in AppDelegate.ma It should now open the pop-up to the launch of the app 您在AppDelegate.ma中导入了Appirater,现在应该打开弹出窗口以启动应用程序

import "AppDelegate.h" 导入“ AppDelegate.h”

import "Appirater.h" 导入“ Appirater.h”

@implementation AppDelegate @implementation AppDelegate

  • (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [Appirater appLaunched]; (BOOL)应用程序:(UIApplication *)应用程序didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {[Appirater appLaunched];

    return YES; 返回是; } }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM