Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top