Skip to content

How to present after dismiss with current playing song? Or only hide when I need? #461

Closed Answered by LeoNatan
peetorres asked this question in General
Discussion options

You must be logged in to vote

Hello,

There is no perfect answer here.

  • If one of your tabs is the settings tab, you can present and dismiss the popup bar depending on the selected tab, but then you need to be careful if you have logic elsewhere that presents the bar again. Maybe you can subclass the tab bar controller, and override the popup bar presentation methods to do the bookkeeping there.
  • If you have a button that pushes a settings controller, consider presenting it as modal, rather than pushing. That is the more correct thing to do from a HIG standpoint, and this is what Apple does in their Music and Podcasts apps. If you prefer to push, I don't think there is something you can do to have the perfect experience…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@peetorres
Comment options

@LeoNatan
Comment options

Answer selected by LeoNatan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants