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
Post a Comment