MQALogger – Library and documentation are not cons

2019-09-18 01:43发布

问题:

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?