uiview-hierarchy Questions

3

Solved

I'm working on an application that uses UIViews as backgrounds to text. I've put the views behind the text in the storyboard but for some reason some still seem to be in front of the text. Is there...
Abstractionist asked 13/8, 2016 at 21:13

8

Solved

My problem: I have a superview EditView that takes up basically the entire application frame, and a subview MenuView which takes up only the bottom ~20%, and then MenuView contains its own subview ...
Kinder asked 2/8, 2012 at 3:41

1

Ok. Here is the question. I have tabBar controller, in tab at index 0 I have a TableView with cells showing video by AVPlayerViewController. For iPhone, when i print content of UIApplication.shared...

8

Solved

I have a custom UIView subclass which is being initialized via a nib. In -awakeFromNib, I'm creating a subview and attempting to center it in its superview. [self setInteralView: [[UIView alloc] ...

3

Solved

Here is an image that explains everything I want to do: My question is, how would I make my view structure. The header of the table view should be fixed at top of the table. But what about the t...

5

Solved

I may be missing something here, but... I have a UIView with a few children (a couple of UILabel's and UIImageView). I need to catch an event when the user clicks (taps) anywhere within the parent...
Ketene asked 23/5, 2012 at 22:36

8

Solved

Is there a way to use [self.view recursiveDescription] in Swift? I am trying to use this method but I am getting the following error: 'UIView' does not have a member named 'recursiveDescription' ...
Stoat asked 17/9, 2014 at 21:25

22

Solved

I want to list out all the subviews in a UIViewController. I tried self.view.subviews, but not all of the subviews are listed out, for instance, the subviews in the UITableViewCell are not found. A...
Prudery asked 30/8, 2011 at 13:25

1

Background I embedded a UICollectionView inside of a UIScrollView and it works almost perfectly. Goal The scrollable elements should pass off the scroll seamlessly once they've reached the end ...

4

Solved

I want to add mapView, which I'm adding programatically, to the bottom of hierarchy view, as I already draw some of the elements beforehand, in the storyboard. So, after i call method: [self.view...
Avaavadavat asked 26/1, 2015 at 13:24

0

I'm getting this warning in the console output when i try to debug the view hierarchy in Xcode 9. Exception gathering view hierarchy information -[UITextView _firstBaselineOffsetFromTop] only v...
Incumbent asked 17/10, 2017 at 19:45

2

I'm opening a CNContactPickerViewController for use in an application, but I want to alter the way it presents to suit my apps needs, preferably without rolling my own and doing a lot of re-inventi...
Cymry asked 22/9, 2017 at 20:21

4

Solved

I am getting following warning when I try to present a ActivityController on navigation controller, Attempt to present <UIActivityViewController: 0x15be1d60> on <UINavigationController: 0...

4

Solved

I need to display image(frame) overlay over AVCaptureVideoPreviewLayer. How can i do this? -(void) viewDidAppear:(BOOL)animated { AVCaptureSession *session = [[AVCaptureSession alloc] init]; ses...

3

Solved

I need to know about _UILayoutGuide, like what it is, what it does and why it present in the hierarchy of UIView as a subview with almost always frame = (0,0,0,0).
Paulpaula asked 23/10, 2013 at 8:46

1

Solved

I want to create attachments view, that places under input accessory view, over keyboard, like in Skype App or Viber: I already asked such question here, but suggested solution for this question...
Family asked 16/9, 2015 at 1:53

1

Solved

I'm building a simple card game where cards are flicked onto a central pile, and I'd like to begin removing the bottom cards when the number gets too large. However, I apply some random rotation an...
Catholicize asked 1/2, 2015 at 17:4

1

I'm creating my view hierarchy programmatically like this: UIWindow* window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; UIViewController1* viewController1 = [[UIViewControl...
Rattan asked 27/6, 2013 at 7:53

2

Solved

According to the official doc on UIView about the contentMode property: The content mode specifies how the cached bitmap of the view’s layer is adjusted when the view’s bounds change What's defi...
Retinitis asked 10/10, 2012 at 20:22
1

© 2022 - 2024 — McMap. All rights reserved.