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
Post a Comment