Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I show a specific page/BLTNItem on demand? #145

Open
davidvjc opened this issue Feb 20, 2019 · 1 comment
Open

How do I show a specific page/BLTNItem on demand? #145

davidvjc opened this issue Feb 20, 2019 · 1 comment

Comments

@davidvjc
Copy link

davidvjc commented Feb 20, 2019

Problem Description:
How do I show a specific page/BLTNItem on demand?

Steps to reproduce:
Say I have a selection of 5 bulletins (created like in the documentation), and on press of a button I only want to show bulletin number 4

Currently I'm using:
bulletinManager.showBulletin(above: self, animated: true)
let fourthItem: BLTNItem = makeFourthPage()
bulletinManager.push(item: fourthItem)

However, I get a "glitch" during the showBulletin animation where it very briefly shows the root item for half a second before pushing the intended Item.

I've tried changing the order, so creating and pushing the item first, then "showBulletin" but I get this error:

You must call the prepare function before interacting with the bulletin.

Environment:

  • Device: iPhone XR
  • OS: 12.1
  • Version of BulletinBoard: latest
@adougies
Copy link

See my answer here on another issue: #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants