Open Control Center and see if the orientation lock button is red. If it is tap it.
P.S. There is no such thing as an iPhone 7S
Page content loaded
Question: My iPhone used to rtate with gravity when i turned it sidewsys but no longer does. How do i get it go rotate again?