[ASMapNode] Remove false assert. This handles #1534

This commit is contained in:
Aaron Schubert
2016-04-16 13:19:07 +01:00
parent fcdc7966cc
commit 5897c1e1b4

View File

@@ -209,7 +209,6 @@
- (void)setUpSnapshotter
{
ASDisplayNodeAssert(!CGSizeEqualToSize(CGSizeZero, self.calculatedSize), @"self.calculatedSize can not be zero. Make sure that you are setting a preferredFrameSize or wrapping ASMapNode in a ASRatioLayoutSpec or similar.");
_snapshotter = [[MKMapSnapshotter alloc] initWithOptions:self.options];
}