I wanna move a native object using CoronaView’s event.
-
Drag object in CoronaView.
-
Dispatch event to iOS native.
-
Move a native object by the event’s x, y.
I applied below codes on CoronaCards iOS.
CGPoint newPoint = CGPointMake(x, y, w, h);
[CATransaction begin]; {
[CATransaction setAnimationDuration:0];
self.object.position = newPoint;
} [CATransaction commit];
It is fast. I guess current applied CoronaSDK’s native object moving. but it still has a little bit delay.
I wanna move it more faster. I want no delay.
How can I get it?