Implemented similar pattern for iOS view controller as for Android.