i want to add an UIView for small size as a subview to existing view.
UIView
i have a UIViewController pushed with a nib name which is the main vi
UIViewController
UIView needs to be alloc'ed and init'ed with a frame:
CGRect frame = CGRectMake(x, y, width, height); // Replacing with your dimensions UIView *view = [[UIView alloc] initWithFrame:frame];