Add old transition API back but allow call from background thread (#2135)

This commit is contained in:
Michael Schneider
2016-09-01 16:09:59 -07:00
committed by Adlai Holler
parent 7ef6c0ff2c
commit f8e135a1be
6 changed files with 43 additions and 93 deletions

View File

@@ -89,7 +89,7 @@
{
self.enabled = !self.enabled;
[self transitionLayoutAnimated:YES measurementCompletion:nil];
[self transitionLayoutWithAnimation:YES shouldMeasureAsync:NO measurementCompletion:nil];
}