You can try the following iPhone app that also runs on iPads and iMac:
https://apps.apple.com/us/app/my-risc/id6621199819
The same developer has others apps like gccLab or jork-Linux including Fortran compilers