我正在尝试从parse中检索用户配置文件图像。我有一个集合视图,我正在检索人们发布的所有图像。我还想在单元格中显示每个用户的个人资料图像。我使用的是以下代码
let query = PFQuery(className: "Posts")
query.findObjectsInBackgroundWithBlock{(question:[AnyObject]?,error:NSError?) -> Void in
if error == nil
{
if let allQuestion = question
我正在使用'else if‘语句让表格的单元格为我的应用程序打开各种视图。问题是,每当我使用pushViewController声明时,我就会得到一个“由于未捕获的异常'NSInternalInconsistencyException‘而终止应用程序”,原因是:“无法加载捆绑包中的NSBundle:”
else if ([[listData objectAtIndex:indexPath.row] isEqual:@"Poison Control Center"]){
emergencynumberspoisoncontrol_viewcontroll