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.
try code instead, swift 3.0 syntax:
dispatchqueue.main.async(execute: { () -> void in })
Comments
Post a Comment