First time I set tabs to tab bar controller, iconView is created from image size of tab item (for me icons 24x24), but if I want to insert a new tab, I put the same tabs(+ 1 new to insert) into setViewControllers method, and iconView is creating again but with default size (30x30), because item.image? doesn't exist. Maybe it makes sense to avoid iconView recreation here? Because it looks weird, when icons become bigger after next setViewControllers call?
First time I set tabs to tab bar controller, iconView is created from image size of tab item (for me icons 24x24), but if I want to insert a new tab, I put the same tabs(+ 1 new to insert) into
setViewControllers
method, andiconView
is creating again but with default size (30x30), becauseitem.image?
doesn't exist. Maybe it makes sense to avoid iconView recreation here? Because it looks weird, when icons become bigger after nextsetViewControllers
call?