Questions tagged [uiview-hierarchy]
110 questions
0
votes
0 answers
Setting the alpha of a UIView before adding it to a superview
I have two views, a designated superview and a subview.
The subview has an alpha value of 0 and has only been initialized and not been added to any superview. After the configuration of my subview I declare a UIView animation block. With this, I…

ff10
- 3,046
- 1
- 32
- 55
0
votes
1 answer
warning unable to restore previously selected frame - cannot open UITabBarController Modally
I am trying to present a tabBarController modally. I am trying to do that by following code:
summaryGraphManager *summary = [[summaryGraphManager alloc] initWithNibName:@"SummaryGraphManager" bundle:nil];
[summary…

NightFury
- 13,436
- 6
- 71
- 120
0
votes
0 answers
How do I Insert View in Superview's View? (iOS)
Possible Duplicate:
How to Insert View in Superview's View? (iOS)
I have the line of code below... How would I modify it to insert the subview "mySubview" in a UIView named "myView" that is found in the superview?
[[self superview]…

William LeGate
- 540
- 7
- 18
-1
votes
1 answer
View in simulator has different frame than in View Hierarchy
I have a strange bug where bottom button hides below the screen. The strange thing is that it is actually tappable and in View Hierarchy it displays as it should be. How could this be? How to debug this problem? Frame and constraints are expected…

Simon Moshenko
- 2,028
- 1
- 15
- 36
-1
votes
1 answer
Auto Layout constraint crashes due to anchor in a "different" view hierarchy in iOS, but
I am working in an iOS 11.X app with Swift 4.1, fully programatic. Using Xcode 9.4
I am trying to have a view centered in the middle (horizontally), with a distance of 10 pts to the top of the view, with rotation support.
The app architecture has…

eharo2
- 2,553
- 1
- 29
- 39