iOS SDK does not track view.
jinjin-lee opened this issue · 2 comments
jinjin-lee commented
Hello
I am a ios developer and would like to integrate matomo sdk in my project.
But sdk tracked view just once at first and is not working any more.
I am trying to find solution but i cannot find issue.
Could you help me for this issue?
Thanks
devzhr commented
try to extend UIViewController
extension UIViewController {
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
matomoTracker.track(view: [self.title])
}
}
brototyp commented
Hey, thanks for the report. How did you initialize the matomoTracker
?