swift - Ambiguous use of DispatchQueue on trying to use main thread -


this weird issue , can't seem find help. on swift 3, trying make call on main thread try use dispatchqueue.main.async, doesn't compile.

any ideas helpful.

enter image description here

try code instead, swift 3.0 syntax:

dispatchqueue.main.async(execute: { () -> void in  }) 

Comments

Popular posts from this blog

elasticsearch python client - work with many nodes - how to work with sniffer -

angular - Is it possible to get native element for formControl? -

Upload file with tags through OwnCloud or NextCloud API -