MQALogger - 库和文档不一致 [英] MQALogger – Library and documentation are not consistent

查看:179
本文介绍了MQALogger - 库和文档不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档提到了一个方法 [[MQALogger defaultSettings] setReportOnDoubleSlideEnabled:false] 。但是图书馆没有这样的方法。是否有包含此方法的库更新?
这个问题的原因是,摇动手势已经在我们的应用程序中使用。

In the documentation a method [[MQALogger defaultSettings] setReportOnDoubleSlideEnabled:false] is mentioned. But the library does not have such a method. Is there a library update that contains this method? The reason for this question is, that the shake gesture is already used in our application.

推荐答案

从版本开始在iOS库的2.x中,不推荐使用APHLogger并将其替换为MQALogger。尚未移至MQALogger的已弃用方法可在近期继续使用APHLogger,但将来某些时候将删除它们。建议移至支持的接口及其方法。使用MQALogger接口时,请注意使用设置而不是defaultSettings。具体到setReportOnDoubleSlideEnabled方法,尝试使用[MQALogger showReportScreen]启动报告屏幕。

Starting in version 2.x of the iOS library, APHLogger has been deprecated and replaced with MQALogger. Deprecated methods that have not been moved to MQALogger can continue to be used from APHLogger, in the near term, but they will be removed at some point in the future. It is recommended to move to the supported interface and its methods. When using the MQALogger interface, note that settings is used instead of defaultSettings. Specific to the setReportOnDoubleSlideEnabled method, try using [MQALogger showReportScreen] to launch the reporting screen.

这篇关于MQALogger - 库和文档不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆