Implement onSubWindowActive in iOS.