Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 iOS 新手。如何将 UIViewController 分配给每个视图?
猜猜你来自安卓世界:)。在 iOS 中,Activity 可以与UIViewController.
UIViewController
如果您创建一个带有自动添加 xib 文件选项的新 ViewController,则视图和视图控制器将被链接。
否则,如果您独立于视图控制器创建 xib 文件,则必须使用“文件所有者”的右侧/检查器面板定义视图控制器的自定义类