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

unity3d - Rotate an object to face an opposite direction -

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

javascript - Why jQuery Select box change event is now working? -