What is the difference between addSubview
and insertSubView
methods when a view is added programmatically?
The only difference is in where the view is added: whether it is the frontmost view (addSubview:
), or it is before the 5th subview, (insertSubview:atIndex:
) or if it is immediately behind another subview (insertSubview:aboveSubview:
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With