go run github.com/hajimehoshi/ebiten/v2/examples/rotate@latest
Install gomobile first.
gomobile install github.com/hajimehoshi/ebiten/v2/examples/rotate@latest
gomobile build -target=ios -work github.com/hajimehoshi/ebiten/v2/examples/rotate@latest
Then, open the WORK
directory, open main.xcodeproj
, add signing, and run the project.