Вопрос

I am trying to query all the features from my database through a querytask, but no delegate methods are being invoked.

@interface MyClass : NSObject <AGSQueryTaskDelegate>

I created a strong property AGSQueryTask :

@property(nonatomic, strong)AGSQueryTask* queryTask;

set the delegate as self:

self.queryTask.delegate = self;

but nothing happens. Ideas?

Это было полезно?

Решение

I made a silly mistake, because of an uncommented line of code, my querytask got deallocated even before it could call the delegate method.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top