If I were the SwiftUI framework, I would simply have an equivalent API to UIBarB...

@harshil@mastodon.social

If I were the SwiftUI framework, I would simply have an equivalent API to UIBarButtonItem.isSelected