【问题标题】:How could I display Hiragana Japanese character in an iPhone app [duplicate]如何在 iPhone 应用程序中显示平假名日文字符 [重复]
【发布时间】:2013-07-28 15:09:30
【问题描述】:

我正在开发一个日文 iPhone 应用程序,我需要在特定屏幕位置以日文平假名显示,我尝试直接使用 NSSTING 它不起作用。请问什么是正确的方法。提前致谢。

【问题讨论】:

标签: iphone uitableview asianfonts


【解决方案1】:

使用这些在 UITableVIewDataSouce protocl 中定义的方法来设置节标题和索引视图的自定义 NSString:

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section;
- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView

【讨论】:

  • 我使用那些方法,但是对于平假名日语字符(あ,え,お..)它不起作用,它可能需要更多的添加......
猜你喜欢
  • 2011-06-20
  • 2017-02-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-03-12
  • 1970-01-01
  • 2017-07-06
相关资源
最近更新 更多