ios - Are view.superview.layer and view.layer.superlayer the same? -
for uiview view, view.superview.layer same view.layer.superlayer ?
in case not same?
they should same. there way weird things, swizzle superlayer getter, or override layer getter, or whatever, if you're 1 controlling uiviews, shouldn't have worry strange cases. can nsassert() case if you're paranoid.
Comments
Post a Comment