Fixed init order in SingleView iOS projects

This is the same fix that was already applied to the Empty iOS projects.
Merge pull request #625 from fabiogaragiola/master

Fixed initialisation order in SingleView iOS projects