【发布时间】:2015-12-02 09:07:40
【问题描述】:
我使用 Estimote 室内位置示例来制作位置列表。但是位置列表为空。我认为应用程序找不到我的估计云的问题。请告诉我如何解决这个问题。
代码:
weak var weakSelf:ListViewController? = self
let onSuccess:(AnyObject!) -> (Void) =
{ (locations:AnyObject!) in
weakSelf!.ownLocationsArray = locations as! NSMutableArray
weakSelf!.tableView.reloadData()
weakSelf!.hadError = false;
self.finishedSectionRefresh()
}
self.manager.fetchUserLocationsWithSuccess(onSuccess, failure: onFailure)
【问题讨论】: