On 29.11.2016 at 22:28 David Duncan wrote:

> Correct, because the owning UIWindow owns the frame of the view
> controller’s view, and may change it at any time.
> The simplest way to fix your specific issue is to just set the
> contentMode to AspectFit. This will automatically center and scale
> the content for the current orientation to fit within the given bounds.

Hmm, I'm afraid that won't work because sometimes I also need the
UIView to appear at a different fixed location that is not equal
to the center, e.g. in the top-left or bottom-right corner of
the UIWindow. Any other ideas?

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andr...@falkenhahn.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to