I want to count page visits for each page in my ios application . when the number = x I have to show an image.
I want when clicking back button to count but i don t know where to add this code . Also I can add code in an init function something like oncreate in android but i see that in ios after passing one time it keeps the page .
thanks,
raluca
I want to count page visits for each page in my ios application .
Share
If you are using a navigation controller and referring to the back button in the navigation bar then you can use…
and
Which get called when the current view changes.