How to know jump into a new view on iOS?

I want to know , whether the click button can open a new view on iOS ?
Through the method "get current activity "can get current activity name.
Is there any method like this on iOS?
Looking forward to your reply