Hang daddy ah; AU statistics official does not support Swift; the integration of various problems according to OC Bridge; Helpless harassment customer service one hours finally fix, integration code and OC is not the same AH!
Here is a customer service answer and run a successful integration process in your own code: 1 Follow the first step in the integration documentation to add the. Framework, which is added in link Binary with Libraries-->add. Framework 2 Introduce header files into your own bridging files: #import <UMMobClick/MobClick.h> and compile 3didFinishLaunchingWithOptions add the following code
Mobclick.setlogenabled (True)
Let obj = Umanalyticsconfig . init()
Obj.appkey = Appdelegate.umappkey
Mobclick.startwithconfigure (obj)
4 Calling related APIs
Mobclick.endevent ("")
The following is the customer service is not in the code to verify the feasibility of the
If you need to add other settings can be added umanalyticsconfig, such as channel obj.channelid= ""
Swift integrates AU stats