Issue with Google Analytics in Swift 2 or 3

前端 未结 6 1076
北荒
北荒 2020-12-15 03:10

I have a problem with Swift 2 (Swift 3) and Google Analytics.

This is the line with the problem:

tracker.send(GAIDictionaryBuilder.createScreenView(         


        
6条回答
  •  青春惊慌失措
    2020-12-15 03:43

    let build = GAIDictionaryBuilder.createScreenView().build() as [NSObject : AnyObject]

    tracker?.send(build)

提交回复
热议问题