ios移动开发
日出前的千夜
半路出家小萌新
展开
-
Xcode 13.3 warning: “No method declared with Objective-C selector”
问题描述 代码: import UIKit class ViewController: UIViewController{ override func viewDidLoad() { super.viewDidLoad() self.navigationItem.leftBarButtonItem=UIBarButtonItem( title: "Back", style: UIBarButtonItem.Style原创 2022-04-24 19:07:11 · 1785 阅读 · 0 评论 -
Xcode 进行ios开发报错:Lauch screens may not have triggered segues.
问题描述 原因探究 现在ios主推用storyboard进行开发。在最新的xcode13.3中,创建project时需要选择storyboard而非swiftUI,之后便能在左侧侧边看见 其中launchscreen.storyboard 和 main.storyboard 是完全不同的两个东西。launchscreen是用户在应用程序完成启动之前点击应用程序图标时首先出现的内容.它显示一个单一的静态屏幕.它不能是动态的,也不能使用任何自定义类或代码.它是启动图像的替代品. main是应用运行时实际显示原创 2022-04-23 22:34:16 · 2027 阅读 · 0 评论