I am working on an iPad project and I want to handle both modes portrait and landscape views.
When I go into landscape mode the UIBarButtonItem does not change position. Is there a method to move this button and put it in the right side of the bar?
Portrait :

Landscape :

Thank you.
I resolved the problem like this :
In the
willAnimateRotationToInterfaceOrientationmethod i wrote :And my
changeProfilButtonOrientationmethodAnd it works 🙂