add UIView class for ios only