Post

Replies

Boosts

Views

Activity

Comment on Weird behaviour of a NSLayoutConstraint used with Size Class variation when app going background
The app stays 5 sec in the background. It's definitely not killed (viewDidLoad is called once). Your second point is correct, however, it do work when Size Class variation is not used. It seems that the variation somehow forces the view to recalculate the layout every time the view appears, using the storyboard values.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’22