0

How to make scrollable tabbar ios swift

As per my knowledge we can use maximum tab in ios. other will comes under more button.. but i want to make scrollable tabbar. so if i get 10 element in my json response its automatically create 10 items tabbar. inshort i want to create scrollable tabbar based on my json response..i found one third party library but it was in objective c.

Let me know if there is any library in swift.

1

2 Answers 2

1

use collection view as a horizontal and get data from api and set based on response.

Sign up to request clarification or add additional context in comments.

Comments

0

I would suggest as you can use collection view in place of a Tab Bar . In that you can add number of cells as per response from JSON, this will work same as what you want.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.