Testing localhost WordPress site over LAN with iPad, iPhone

Go to Admin Panel > Settings > General and replace localhost with your ip-address for WordPress Address (URL) and Site Address (URL).

Or go to wp-config.php and add

define('WP_HOME','http://192.168.0.16');
define('WP_SITEURL','http://192.168.0.16');

And when you access to from other device you should go 192.168.0.16/directoryOfWordpress