iPhone Safari Viewport Scaling Bug

I got the opportunity to experience this bug first hand today when I was developing. I write this as more of a post it note so that if I ever have this issue again I can reference it here. I ended up using the solutions that were posted on this website. I went with the javascript fix since disabling scaling doesn’t seem like a good idea.