0
我必須用2種不同的字體設置我的UINavigationBar。我需要有這樣的畫面:用2種不同的字體設置UINavigationBar
這很容易地創建一個自定義標題,但只有1字體,我發現吸液:
[self.navigationController.navigationBar setTitleTextAttributes:
@{NSForegroundColorAttributeName:[UIColor redColor],
NSFontAttributeName:[UIFont fontWithName:@"Zapfino" size:21]
}
]
但是,它可能用兩種不同的字體創建一個標題?