What's the quickest way to force an iOS app to crash?
Solution 1:
@throw NSInternalInconsistencyException;
Solution 2:
So many ways to kill an app! Here are two one liners:
[self performSelector:@selector(die_die)];
also
@[][666];
@throw NSInternalInconsistencyException;
So many ways to kill an app! Here are two one liners:
[self performSelector:@selector(die_die)];
also
@[][666];