SwiftUI 如何解决Unable to infer complex closure return type; add explicit type to disambiguate

SwiftUI 如何解决Unable to infer complex closure return type; add explicit type to disambiguate

In order to facilitate project management, I will be scattered before the project documents were classified management, however, it is that at compile time receive the above error.

solution

This should be a cause of cache, empty cache project, close xcode. Restart just fine


More attention SwiftUI tutorials and code columns

Published 637 original articles · won praise 4 · views 50000 +

Guess you like

Origin blog.csdn.net/iCloudEnd/article/details/104068347