ios - Dispatch on main queue, type issues? -
i've been using code few months:
dispatch_async(dispatch_get_main_queue(), ^{ // });
but in new target warning dispatch_get_main_queue
returns dispatch_queue_s
when in fact need dispatch_queue_t
. however, code works.
is problem? if so, easiest solution?
Comments
Post a Comment