Search code examples
iphoneobjective-cuiviewaddsubview

addSubview beneath another UIView


I would like to be able to addSubview beneath another already existing UIView, how can I do that? I haven't been able to find anything on this.


Solution

  • How about the UIView method: insertSubview:belowSubview:.
    It's right there in the "Managing the View Hierarchy" section of the UIView docs.