Does the ios version of p5.js still exist? It seems to have disappeared from the app store.
There was an unofficial app, p5*. It looks like it was removed from the app store.
I believe that the p5.js web editor is fairly robust on iOS if you have a network connection.