English 中文(简体)
GCD: 网络任务
原标题:GCD for network task iOS

我正在利用全球艾滋病网络开展联网工作。 我有一张表认为控制器从服务器上装载数据,但一旦我离开该控制器,再发射另一个观察控制器,申请坠毁。 我无法找到解决这一问题的办法。 该处的答复是国家航空航天局,是表层数据来源。 在我得到答复时,我把数据来源财产归控制人。 如果目前的观点是表上的观点,如果是我重新上下议桌的话,我就推翻了封套和检查。 我用不正确的方式对待这一点吗?

成就

问题回答

如同错误一样,在许多地方可能发生。 我的建议是把这个问题逐步缩小。 这不一定是迅速和容易的。 但是,你会发现这个问题(并在此过程中学习了很多东西)。

作为第一步,试图用一些当地数据取代从该网络获得的数据。 如果你仍有问题,你也许可以排除处理网络对策的编码。

或者你可以采取另一种方式:只是审查请求中退还的数据。 页: 1 也许你在答复中注意到空洞、格式不当等数据。

注:我不认为你的服务器正在退回<代码>。 NSArray。 明确区别(可能收到json格式数据并分类)。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签