ios - Possible to check if AVPlayerLayer is visible? -


is possible check if avplayerlayer added sublayer viewcontroller's subview's layer visible or not? if @ point of time, view laid on said subview, require pause avplayer, if obscured partially. note set zposition of avplayerlayer -1 when adding sublayer. implementation in framework i'm working on have no control if end developer puts subview on subview or inside subview contains avplayerlayer.

some things consider someone(end developer using framework) could:

  • add multiple subviews on the subview or inside subview player
  • add sublayer subview player, obscuring player

any appreciated.


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -