MQALogger – Library and documentation are not consistent

烂漫一生 提交于 2019-12-13 03:44:38

问题


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.


回答1:


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.




回答2:


The double slide feature has been deprecated, so it is more than possible to have since been removed from the production rather than revived.

See this question: How to use MQA setReportOnDoubleSlideEnabled in an iOS App?



来源:https://stackoverflow.com/questions/28479070/mqalogger-library-and-documentation-are-not-consistent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!