腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(485)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
UIScene
userActivity为空
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptions
浏览 19
提问于2020-04-16
得票数 1
2
回答
UIScene
的概念还不清楚
现在,Xcode会自动创建
UIScene
,并在这个场景上创建UIWindow。
浏览 17
提问于2020-05-07
得票数 19
回答已采纳
4
回答
“场景(_场景:
UIScene
,继续userActivity: NSUserActivity)”在用户单击通用链接后启动应用程序时不会被调用
方法在用户单击通用链接后启动应用程序时不会调用scene(_ scene:
UIScene
, continue userActivity: NSUserActivity)。示例代码: guard userActivity.activityType, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.
浏览 6
修改于2019-10-05
得票数 14
回答已采纳
1
回答
在不重新加载GameScene的情况下在Unity3d中重新加载
UIScene
我有两个场景"GamePlay“和"GameUI”。void Awake () { instance = this; Destroy(this.gameObject) ; DontDestroyOnLoad(this.gameObject);现在,当我重新加载
浏览 3
提问于2017-07-30
得票数 1
回答已采纳
4
回答
当多个连接的场景在前台处于活动状态时获取当前聚焦的
UIScene
在连接多个场景时,获取当前
UIScene
时出现问题。 具体地说,我的应用程序(iOS 13)在iPad上支持多窗口。
浏览 68
修改于2019-09-20
得票数 7
1
回答
**[Assert] UIKit客户端错误:-如果客户端采用
UIScene
生命周期,则不应调用[UIWindow setScreen:]
[Assert] Error in UIKit client: -[UIWindow setScreen:] should not be called if the client adopts
UIScene
浏览 88
修改于2020-02-05
得票数 2
1
回答
对于基于
UIScene
的应用程序,UIAlertView已弃用且不可用,请使用UIAlertController
我是Swift的新手,我遇到了这个错误。 我不理解它,因为我没有在代码中使用任何类型的警告。 这是我的ViewController: import UIKit override func viewDidLoad() { let url = URL(string: "https://www.google.com
浏览 23
修改于2020-10-21
得票数 5
回答已采纳
1
回答
未能在我的Swift项目中使用带有桥接头的Objective库
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptionsscanDelegate = self } } f
浏览 5
修改于2019-12-05
得票数 1
回答已采纳
1
回答
从另一个SKScene中显示一个SKScene
我想先显示gameScene,然后在
uiScene
中显示,这是由gameScene中的操作触发的(按下暂停按钮)。view.bounds.size) skView.presentScene(gameScene)
uiScene
.scaleMode = .ResizeFill
uiScene
.backgroun
浏览 3
提问于2014-10-29
得票数 2
回答已采纳
1
回答
UserDefaults在sceneWillResignActive方法SceneDelegate.swift中的应用
let vc = ViewController() func scene(_ scene:
UIScene
, willConnectTosession: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptions) { } func sceneWillResignActive(_
浏览 3
提问于2020-09-29
得票数 0
回答已采纳
1
回答
运行应用程序中的黑色屏幕
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptionsUIWindowScene) else { return } func s
浏览 11
修改于2022-10-17
得票数 0
1
回答
如何在重新启动应用程序时使用方法?
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptionswindow.makeKeyAndVisible() } print("
浏览 0
提问于2020-09-08
得票数 0
回答已采纳
1
回答
在选择特定视图时,如何使用生命周期方法?
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptionswindow } func sceneDidDisconnect(_ scene:
UIScene
) { func sceneDidBecomeActive(_ scene
浏览 2
提问于2020-09-07
得票数 0
回答已采纳
1
回答
SwiftUI:如何在当前场景中显示新的视图基础
(称为appA),它将MainHome View显示回启动程序,并调用另一个应用程序(称为appB),然后单击导出文件到appA,现在它将调用该函数:
浏览 2
提问于2020-07-31
得票数 0
1
回答
EnvironmentVariables在SwiftUI中将变量从一个视图传递到另一个视图时不工作
, options connectionOptions:
UIScene
.ConnectionOptions) { window.makeKeyAndVisible() } } func sceneDidBecomeActive(_ scene:
UIScene
)
浏览 1
修改于2020-02-03
得票数 1
1
回答
如何在主应用程序未打开时从今天的扩展打开特定的视图控制器
open(url, completionHandler: nil) } func scen
浏览 5
提问于2020-08-28
得票数 2
2
回答
通过SceneDelegate不工作来恢复催化剂状态
当通过停靠图标退出我的catalyst应用程序时(右击->退出),我的SceneDelegate的stateRestorationActivity(for scene:
UIScene
)方法被调用,并且我返回一个非空的但是,当重新启动我的应用程序时,scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptions)的connectionOptions中没有用户活动 对于其
浏览 30
提问于2020-06-20
得票数 1
回答已采纳
2
回答
iOS 13 UIWindowScene如何锁定方向?
我想使用SceneDelegate,UIWindowScene,UIWindowSceneDelegate和其他
UIScene
相关的东西。func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptions
浏览 132
修改于2019-10-04
得票数 2
2
回答
如何在新的SceneDelegate生命周期中处理willConnectTo方法
func scene(_ scene:
UIScene
, willConnectTo session: UISceneSession, options connectionOptions:
UIScene
.ConnectionOptions
浏览 5
提问于2020-08-31
得票数 0
回答已采纳
1
回答
ios13中未调用"openURLContexts“函数
对于iOS13,我添加了类SceneDelegate.swift,并实现了以下方法:// added navigation functionality for iOS13} func scene(_ scene:
UIScene
, openURLContexts
浏览 53
修改于2019-11-14
得票数 1
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券