10 Dictionary<UITouch, int>
idMap = [];
16 MultipleTouchEnabled =
true;
17 UserInteractionEnabled =
true;
19 ExclusiveTouch =
false;
23 foreach (UITouch cc
in touches.Cast<UITouch>()) {
24 var point = cc.LocationInView(
parent);
34 foreach (UITouch cc
in touches.Cast<UITouch>()) {
35 var point = cc.LocationInView(
parent);
39 if (
idMap.TryGetValue(cc, out
int id)) {
48 foreach (UITouch cc
in touches.Cast<UITouch>()) {
49 var point = cc.LocationInView(
parent);
52 int processId = cc.GetHashCode();
54 if(
idMap.TryGetValue(cc,out
int id)) {
override void TouchesMoved(NSSet touches, UIEvent? evt)
override void TouchesCancelled(NSSet touches, UIEvent? evt)
override void TouchesBegan(NSSet touches, UIEvent? evt)
override void TouchesEnded(NSSet touches, UIEvent? evt)
TouchView(UIView parentView)
Dictionary< UITouch, int > idMap