Resolved AVQueuePlayer: play item twice

Discussion in 'iOS Programming' started by moonman239, Jul 12, 2014.

  1. moonman239, Jul 12, 2014
    Last edited: Jul 14, 2014

    moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #1
    I have an AVQueuePlayer. This AVQueuePlayer has an item that I want it to play twice. However, I only want it to play that item twice.

    The only solution I have is to have my view controller subscribe to the AVPlayerItemDidPlayToEndTime notification and call a selector.
     
  2. moonman239 thread starter macrumors 68000

    Joined:
    Mar 27, 2009
    #2
    I ended up telling my app to add another item and add it to the queue player. This solution is easier than the one I previously posted.
     

Share This Page