UIView provides a number of ways to manage views
Add a view to a view
Addsubview:
Move a view to the front
Bringsubviewtofront:
Push a view to the back
Sendsubviewtoback:
To remove a view
Removefromsuperview
Insert a view and specify an index
Insertsubview:atindex:
Insert View above a view
Insertsubview:abovesubview:
Insert view under a view
Insertsubview:belowsubview:
Swap views for two-position indexes
Exchangesubviewatindex:withsubviewatindex:
Creating UIView Animation blocks
Cgcontextref context = Uigraphicsgetcurrentcontext ();
Mark Animation start
[UIView Beginanimations:nil Context:context];
Define how the animation accelerates or decelerates
[UIView Setanimationcurve:uiviewanimationcurveeaseinout];
Defines the duration of the animation 1 seconds
[UIView setanimationduration:1.0];
Intermediate processing position change, size change, rotation, etc.
[[Self.view viewwithtag:999] setalpha:1.0f];
Flag Animation block End
[UIView commitanimations];
You can also set callbacks
[UIView setanimationdelegate:self];
To set methods for callback calls
[UIView setanimationdidstopselector: @selector (animationfinished:)];
- //Set the border of the layer to round feet ?
- mywebview.layer.cornerradius = 8
- MYWEBVIEW.LAYER.MASKSTOBOUNDS = YES;  
- //Add a colored border to the layer ?         
- MyWebView.layer.borderWidth = 5;?
- MyWebView.layer.borderColor = [[Uicolor colorwithred:0.52Green:0.09Blue:0.07Alpha:1] cgcolor];?
- }
Properties of iOS View