You can use the app on wifi as long as it is not the same wifi where your apex is connected. So if you go outside of your home and connect to someone else's network it will work just fine.
You can set up another controller in the iphone app and point it to the actual ip address of the apex if you want to use it on your local wifi. Then you need to pick which controller to use in the app depending on where you are.