Saagar Jha

Usually I’d point at this and go “haha obviously someone just made an NSAttributedString without configuring it” but like it’s been this way for a while and this is the most basic use of -[UINavigationItem setSubtitle:] so now I’m not so sure this is a bug or not
Screenshot of the Unwyze navigation bar, with the default 9:41 status bar and navigation bar title “Completed” in San Francisco and subtitle “Battery: 100%” in Helvetica 12 point. On the right is a button with the “person” symbol.
1 replies →
1 replies

Harshil Shah :psyduck:

(replying to Saagar Jha)

@saagar This also happens with the expanded subtitle and that’s new public API! Baffling stuff

Saagar Jha

(replying to Harshil Shah :psyduck:)
@harshil Which one is that

Saagar Jha

(replying to Saagar Jha)
Of course if you read the code that is exactly what the method does before calling -[UINavigationItem setAttributedSubtitle:] but surely this wacky behavior is intentional and must have gone through some sort of review, right?

Saagar Jha

(replying to Saagar Jha)
What I don’t get is how Mail is able to make this San Francisco but Passwords somehow ends up with Helvetica for both its collapsed and expanded state subtitles

Siguza

(replying to Saagar Jha)

@saagar wouldn't be surprised if this were hardcoded based on bundle ID

Saagar Jha

(replying to Siguza)
@siguza I don’t think so in this case