3 Replies
      Latest reply on Mar 14, 2019 5:58 PM by DrMiller
      DrMiller Level 1 Level 1 (0 points)

        I have UIPickerView within a vertical StackView, and with various settings for distribution, sometimes the picker looks instrinsic size of 216 high and other times it is ~360 points. I want to overlay a label view (for units) and I want to to center vertically the label. I tried trying to measure the picker height in viewDidLayoutSubviews but the value for the picker's frame isn't close to what I see.

         

        So, the question is, at what point and in what part of the view cycle can I find out the visible height of a view, e.g. picker?