Override back button's pop method of Nav Controller


#1

I want to modify the transition time and direction of the the back button’s pop function as per the requirement. I could not find any such method to do it. If anyone has the solution to it then kindly provide the same.


#2

Did you try this

 this.platform.registerBackButtonAction(() => {
     // override your back button
 });

#3

I’ve already tried it, not working.