Does anyone understand scroll views? I struggle every time I use them, and it
seems that I have to go through a process of trial and error to get them
working properly.
If I drag a scroll view into another view in Interface Builder, I get a
“Bordered Scroll View” that contains a “Clip View” tha
This is a follow-up to my previous email on Scroll views.
What I actually want to is be able to swap different views (with different
heights) in and out of the scroll view. To do this, I’m adding the different
views as a subview of the “document" view (called contentParent below):
contentParent
On Jan 19, 2018, at 04:28 , Jeremy Hughes wrote:
>
> Summarising: it seems that to get a vertically scrolling view that works as
> expected, the content view must be set to be flipped (no way of doing this in
> IB) and the flexible-height arrow must be turned off. The top-margin line can
> als
On Jan 19, 2018, at 12:36 , Jeremy Hughes wrote:
>
> If you add a scroll view in Interface Builder, that’s how it is set up for
> you by Interface Builder. You don’t have to add an autoresizing mask or use
> it to pin the document edges - because Apple has already done that for you!
> So you’r
> On 19 Jan 2018, at 22:15, Quincey Morris
> wrote:
>
>> Interface Builder complains if I don’t also add vertical constraints, so
>> I’ve done that, but made the bottom constraint into a placeholder (“Remove
>> at build time”). Your email suggests that I can also make the top constraint
>> in
Well, I can’t figure out if IB supports your scenario in Xcode 9.2. In part, IB
has some bugs in displaying the correct set of constraints error messages. In
some cases, it displays errors for the wrong view; in some cases, it displays
out-of-date messages until you rebuild the project, or close