Question on Pie Menus by Different Methods (How to add Touch Input)

I am using the Pie Menus by Different Methods from Asset Store, I have difficulty adding the touch input to the pie Menu, and hope to get some help about it.

	void Update()
	{
		Touch touch;
		int count = Input.touchCount;
		if(touchIndex == -1)
		{//If a touch has not hit this gui since last time a touch was ended/canceled
			int i;
			for( i = 0; i < count; i++)
			{
			
				touch = Input.GetTouch(i);
				if(touch.phase == TouchPhase.Began) 
				{
					Ray ray = Camera.main.ScreenPointToRay(touch.position);
					RaycastHit info;
					if (collider.Raycast(ray, out info, 100.0f))
					{						
						if(mainMenu)
							manager.Show(this);
					}
				}

			}
		}
	}

When deploy on ipad, the pie menu will appear, but it will also disappear once my finger lift up from the touch. Hope anyone can correct me on the above code.

Or what is the right way to add touch input to place OnMouseUp event?

Thanks in advance

I was just wondering if this product worked on ios. Did you ever get an answer from the creators?