prevent rotating the view
ignore some xcode files