You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
Not sure how many attempts you get but the manual says
In the unlikely event that your touchscreen is unresponsive, you may be unable to enter the PIN. In this case, first try to restart the touchscreen (see Restarting the Touchscreen). If the touchscreen is still unresponsive, you can still bypass PIN to Drive by turning on Keyless Driving in the Tesla mobile app.
So if you forget your PIN, use the app to get around it I think. But writing down your PIN someplace like in a password manager or someplace secure probably not a bad idea.
lol good to know-I did not actually forget my pin but wondering how many failed attempts one gets and what happens-pop up message, car won’t start for 15 minutes.