objective c - iOS real device get EXC_BAD_ACCESS when runAction on node -



objective c - iOS real device get EXC_BAD_ACCESS when runAction on node -

- (ibaction)rotategesture:(uirotationgesturerecognizer*)sender { skspritenode * face=(skspritenode*)[self.skview.scene childnodewithname:@"face_layer"]; skaction* action=[skaction rotatetoangle:sender.rotation duration:0]; [face runaction:action]; }

face skspritenode , not nil (i have tested it.) method called uirotationgesturerecognizer , there no exception crashed when create rotation gesture on device.

and ok on simulator!!!

(my ipad mini2 works ,too.however iphone4 doesn't .)

any help appreciated! much.

ios objective-c sprite-kit

Comments

Popular posts from this blog

javascript - I need to update the text of a paragraph by inline edit -

javascript - THREE.js reposition vertices for RingGeometry -

assembly - What is the addressing mode for ld, add, and rjmp instructions? -