Added ipad/iphone support

Note that this is not fast on ipad… but it works!