• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to reposition subviews without Auto Layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to reposition subviews without Auto Layout


  • Subject: Re: How to reposition subviews without Auto Layout
  • From: Richard Charles via Cocoa-dev <email@hidden>
  • Date: Sat, 17 Oct 2020 15:57:01 -0600

So why not just do this.

[myView translatesAutoresizingMaskIntoConstraints:NO];
[myView setAutoresizingMask:myMask];

--Richard Charles


> On Oct 17, 2020, at 2:47 PM, Andreas Falkenhahn <email@hidden>
> wrote:
>
> No, they are inserted programmatically.
>
>> On 17.10.2020 at 18:41 Richard Charles wrote:
>>
>> Just curious if these three subviews are in a nib or xib file or
>> are they inserted into the content view programmatically?
>>
>> --Richard Charles
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to reposition subviews without Auto Layout
      • From: Andreas Falkenhahn via Cocoa-dev <email@hidden>
References: 
 >How to reposition subviews without Auto Layout (From: Andreas Falkenhahn via Cocoa-dev <email@hidden>)
 >Re: How to reposition subviews without Auto Layout (From: Richard Charles via Cocoa-dev <email@hidden>)
 >Re: How to reposition subviews without Auto Layout (From: Andreas Falkenhahn via Cocoa-dev <email@hidden>)
 >Re: How to reposition subviews without Auto Layout (From: Richard Charles via Cocoa-dev <email@hidden>)
 >Re: How to reposition subviews without Auto Layout (From: Andreas Falkenhahn via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: How to reposition subviews without Auto Layout
  • Next by Date: Re: How to reposition subviews without Auto Layout
  • Previous by thread: Re: How to reposition subviews without Auto Layout
  • Next by thread: Re: How to reposition subviews without Auto Layout
  • Index(es):
    • Date
    • Thread