Tap and swipe left an element to delete does not work

Hi,

I am trying to delete an element on mobile simulator iOS. The only way to do so is to swipe left. Note that even when performing the action manually, sometimes when I try swipe left, it brings me to the edit page instead of showing the delete button. With scripting, it always brings me to the edit page. How to go about this issue? Thanks.

@Keyword
def deleteSchedulesIOS(numberOfSchedules) {
for (int i=0;i<numberOfSchedules;i++) {

		Mobile.swipe(105, 416, 0, 400)
	}
}