Xcode报错留下评论 Xcode报错Class property ‘isMainThread’ is unavailable from asynchronous contexts; Work intended for the main actor should be marked with @MainActor 方君宇 2025年7月12日 2025年7月12日 问题描述 在SwiftUI的await/async …