What is the best practice to migrate from custom TabBar (with action button in the middle , in example)? This decision were driven by Design team and had a lot of controversy. But yet it's implemented.
Hi, @lanserxt!
As a fellow developer, I can understand the stress that this change may cause, but to be honest I'm sure it will in the end help us achieve a better result as the OS continues to evolve to help our apps better evolve with it.
Addressing the question of having the action button in the middle, consider in your TabView using the following:
Tab("Name", systemImage: "symbol", role: .prominent) {
// Content
}
Or, if you use a custom label:
Tab("Name", image: "image", role: .prominent) {
// Content
}
The result will look something like this:
The button on the right instead of the center may be a little change for your users to get used to, but I would say it is the best option.
I hope this helps!