Tap on Screen while Loading

How can I tap on the screen at the time of loading?
Eg: when the user clicks on ‘share your location’, usually I will find loading symbol for a long time. If I tap anywhere of the screen loading will stop and I can click on ‘ShareLocation’ button.

Currently, i am using Appium 1.4.13 version.