WiFi or Cellular?

Is there a way of knowing/detecting how an iOS device is connected to a network?

My guess is checking the IP type. I think I will have to check the iOS’s IP address of the device itself, then I will compare it with the Remote Address on the server side. If it is not the same my guess the iOS is connected through a router, since the Remote Address would be the address of the router.

Is there another way of detecting the connection type?

You need the Reachability class which is part of Jason King’s iOSKit. Here’s the relevant thread: https://forum.xojo.com/18059-online-or-not