ricky
c0be871812
[ASViewController] Propagate the traits on willTransitionToTraitCollection ( #2115 )
...
Previously we were only propagating the trait collection on `viewWillTransitionToSize` since it is called shortly after `willTransitionToTraitCollection`. However, some important things can happen in that time “shortly after” (like collection view layout). As long as nothing changes from `willTransitionToTraitCollection` to `viewWillTransitionToSize` (which it shouldn’t) the traits will not be re-propagated anyhow.
Also make sure to use the `ASEnvironmentTraitCollectionMakeDefault` method when creating new envTraitCollection so the struct isn’t filled with junk.
2016-08-22 10:06:53 -07:00
..
2016-08-22 10:06:53 -07:00
2016-08-18 15:01:41 -07:00
2016-08-18 15:01:41 -07:00
2016-08-18 15:01:41 -07:00
2016-06-11 23:31:39 -07:00
2016-08-10 10:30:25 -07:00
2016-06-11 23:31:39 -07:00
2016-08-15 12:06:06 -07:00
2016-08-04 19:00:46 -07:00
2016-08-16 15:40:55 -07:00
2016-07-05 17:47:00 -07:00
2016-07-22 13:09:28 -07:00
2016-08-11 11:23:07 -07:00
2016-06-11 23:31:39 -07:00
2016-08-12 15:37:23 -07:00
2016-08-19 11:18:31 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-08-10 10:30:25 -07:00
2016-06-11 23:31:39 -07:00
2016-07-16 15:29:24 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-08-15 12:06:06 -07:00
2016-08-19 17:51:41 -07:00
2016-08-15 12:06:06 -07:00
2016-07-02 11:45:40 -07:00
2016-06-11 23:31:39 -07:00
2016-07-14 15:10:49 -07:00
2016-08-04 19:00:46 -07:00
2016-08-09 15:31:37 -07:00
2016-06-11 23:31:39 -07:00
2016-08-10 10:26:21 -07:00
2016-08-21 13:06:21 -07:00
2016-07-09 17:20:59 -07:00
2016-06-11 23:31:39 -07:00
2016-08-09 15:31:37 -07:00
2016-08-18 15:01:41 -07:00
2016-08-18 15:01:41 -07:00
2016-06-11 23:31:39 -07:00
2016-07-16 15:32:13 -07:00
2016-06-11 23:31:39 -07:00
2016-07-07 11:13:18 -07:00
2016-07-16 10:46:55 -07:00
2016-07-16 15:32:13 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-08-19 11:47:56 -07:00
2016-08-19 11:47:56 -07:00
2016-08-18 15:01:41 -07:00
2016-07-16 15:29:24 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-07 11:13:18 -07:00
2016-07-14 11:27:32 -07:00
2016-08-11 11:23:07 -07:00
2016-07-02 11:45:40 -07:00
2016-08-17 19:58:40 -07:00
2016-07-07 15:12:19 +10:00
2016-06-11 23:31:39 -07:00
2016-08-04 19:00:46 -07:00
2016-08-16 10:20:59 -07:00
2016-08-12 12:07:00 -07:00
2016-08-13 17:28:19 -07:00
2016-08-13 17:28:19 -07:00
2016-07-29 11:09:38 -07:00
2016-07-29 11:09:38 -07:00
2016-08-15 11:26:10 -07:00
2016-08-22 10:06:53 -07:00
2016-06-11 23:31:39 -07:00
2016-08-18 15:01:41 -07:00
2016-08-18 15:01:41 -07:00
2016-07-07 15:12:19 +10:00
2016-08-11 11:23:07 -07:00
2016-08-11 11:23:07 -07:00
2016-07-04 16:34:16 -07:00
2016-08-18 15:01:41 -07:00