objective c - Use of undeclared identifier DISPATCH_PRIORITY_DEFAULT -



objective c - Use of undeclared identifier DISPATCH_PRIORITY_DEFAULT -

dispatch_async(dispatch_get_global_queue(dispatch_priority_default), 0), ^{ [self showspinner]; });

shows error "use of undeclared identifier dispatch_priority_default"

what need import? or else wrong?

use dispatch_queue_priority_default instead of dispatch_priority_default

no need import thing.

objective-c iphone ipad

Comments

Popular posts from this blog

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -