Quick Fix For Can't add self as subview
I believe you can always find a lot of this kind of Crash: Can't add self as subview
.
We also know that we will never write code like add self as subview
.
In fact, in most cases, the push
and pop
pages with animation
and no animation
occur at the same time.
Because we all know that this is often caused by the complexity of the page hierarchy and the unpredictable page jumps. So often choose to shelve this Crash helplessly.
But we always think about how to eliminate this Crash. Whether it is from the perspective of user experience or from the aspect of Crash rate management.