Dev Bootcamp is not the only reason I want to move to the US and that's why I posted this question. My main goal is to have an interesting job in the US, but I was in doubt between applying for an iOS developer job from London or go for the dev bootcamp first and then look for a job where I could eventually use my knowledge on iOS and Rails, as I think it would be a good combination. I'm starting to be convinced that I should go for the first option and I'll continue learning Rails on my free time.
Yes unfortunately the option to learn on your own and apply for a job in the US is your best bet. Immigration law in the US is very strict and confusing. Focus on getting a good job offer and once you are inside the US, you can try and get your employer to file for your permanent residency.