Getting irrelevant errors when orientation changes in iOS 7 -
in ipad app, have table multiple sections , rows. when alter orientation landscape portrait or portrait landscape, 1 of next errors:
terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[webscriptobjectprivate countbyenumeratingwithstate:objects:count:]: unrecognized selector sent instance 0x124a15a0' terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[domhtmlheadelement rotatingclient]: unrecognized selector sent instance 0x8c60a20' terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[__nscfstring countbyenumeratingwithstate:objects:count:]: unrecognized selector sent instance 0x8f7c380'
i'm not explicitly using of classes exceptions thrown.
edit: using instruments, found crash happens. haven't used before i'm not sure it.
# event type ∆ refct refct timestamp responsible library responsible caller 2 zombie -1 00:38.935.631 uikit -[uiwindow _setrotatableclient:toorientation:updatestatusbar:duration:force:isrotating:]
when unrecognized selector messages sent objects of classes don't utilize directly, reply target objects have been released unexpectedly , memory re-used objects appear in error message.
your best bet turn on zombies in scheme , see released objects beingness sent messages. or, can seek track downwards figuring out object should receiving message , has happened it. (obviously, first easier when it's possible.)
ios orientation
No comments:
Post a Comment