Has anyone tried to move to Offline mode on iOS using XCUITest?

I was able to swipe up the control center when using Instruments i.e iOS 9.3.
But on moving to iOS 10 , i am swipe up the Control center.
Has ay one tried it? Does it work?