moved UIView to viewController.m and out of AppDelegate.m