Update RootViewController.mm

More convenient switch landscape or portrait