I have several user interface elements on my screen (programmatically), and I need an efficient way to give each subview a z-index parameter, so I can stack certain elements on top of the others.
Does anyone have a solution?
The usual method -addSubview:will add a new look on top of your siblings.
-addSubview:
, bringSubviewToFront:, insertSubview:belowSubview: .., , " " UIView
bringSubviewToFront:
insertSubview:belowSubview:
Source: https://habr.com/ru/post/1754920/More articles:How to set line break in Xcode shortcut? - cocoa-touchwpf data synchronization problem - validationЛучший способ разбить большой класс на более мелкие в PHP - phpProtobuf-net: instances of abstract classes cannot be created - c #How to create a 2D NSArray or NSMutableArray in a C object? - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1754921/c0x-passing-arguments-to-variadic-template-functions&usg=ALkJrhjo1YeewFzI2logrAZQ-AJum9CU0wContinuous timeline in iphone app? - iphoneHow to make OutOfMemoryError on Linux JVM 64bit - javaBigTable vs noSQL - javaBest PHP web server for development - phpAll Articles