我正在尝试正确格式化这一行,但到目前为止,我没有在哪里:
NSString *urlAddress = selectedCell.@"html";
selectedCell是选择的类别,
IBOutlet UILabel *selectedCellText;
NSString *selectedCell;
如何解决这个问题?
答案 0 :(得分:0)
修正了它,
NSString *urlAddress = [[NSBundle mainBundle] pathForResource:selectedCell ofType:@"htm"];