How to handle datepicker ios version

Hi All Katalon user i have some other trouble with automation mobile in katalon


can you guys had ever found for this solution,
i got stuck while trying to spin the date picker (date picker like ios version)
i had try to using taping the object and scroll to text but unfortunately i still got stuck to spin the date picker like this,

maybe some one in this community have some solution to operate with object like this

sticky notes, field ‘Enter the Date of Birth’ can’t use set Text

Someone may have a better solution but I have solved this by getting the location of the picker you are trying to work with and then using TouchActions to press the object, move the height of the object and then release and looping this action until it is on the desired selection and repeated for each section of the picker.

left = Mobile.getElementLeftPosition(findTestObject('object'), 0, FailureHandling.STOP_ON_FAILURE)
top = Mobile.getElementTopPosition(findTestObject('object'), 0, FailureHandling.STOP_ON_FAILURE)
len = Mobile.getElementHeight(findTestObject('object'), 0, FailureHandling.STOP_ON_FAILURE)
TouchAction hr = new TouchAction(driver)
hr.press(point(left,top)).waitAction()
hr.moveTo(point(left, (top-len)))
hr.release()
hr.perform()

Hi @kreno thanks for the reply, i will try this , hopefully it can be the one of the solution, have a great day