Update sample template with iOS and OSX platforms
Fixed resolution rendering issue, just need to add other control methods