문제

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