Fix to only support portrait orientation.
Set target to iOS7.