vpdn/MMLayershots — pull request #6 by PvmHD (2014-05-24 02:34:59+00:00)
Title: Updated

Indiscriminately removing all sublayers causes nasty crashes in iOS 7, which can occur much later in the program's execution. I have tested this thoroughly using both rootLayer.sublayers = nil and [rootLayer.sublayers makeObjectsPerformSelector:@selector(removeFromSuperlayer)]...