Refact views for iOS.