ios - How can I drag my UIView only from a specific area of this UIView? -


this uiview have. of hidden , dragged out dragging little visible part.

enter image description here

i thought drawing view let 90% of container , on top, draw little rectangle (the visible part) faced 2 problems:

  • i can drag view out dragging visible part of view (and not little rectangle) ,
  • i need able see/interact view behind visible part of hidden view (except little rectangle)

how can achieve that?

override pointinside:withevent: return false when point in part of view don't want receive touches.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -