1<View
2 onTouchStart={e=> this.touchY = e.nativeEvent.pageY}
3 onTouchEnd={e => {
4 if (this.touchY - e.nativeEvent.pageY > 20)
5 console.log('Swiped up')
6 }}
7 style={{height: 300, backgroundColor: '#ccc'}}
8 />
9