adds basic ios support (a little janky)