NativeScript / NativeScript/plugins
[@nativescript/camera] Taking picture from dialog not working on iOS
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
描述
When loading up a component inside a modal from a footer navigation I've noticed Attempt to present <UIImagePickerController: 0x10f02a800> on <UINavigationControllerImpl: 0x10986a000> (from <UINavigationControllerImpl: 0x10986a000>) whose view is not in the window hierarchy.
This issue was first reported here: https://github.com/NativeScript/nativescript-camera/issues/227
And the examples are still relevant to facing it here in @nativescript/camera. Thought I'd bring it here to bring the community a way to track it in up to date ns7 projects.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看链接的 NativeScript camera issue 和 @nativescript/camera 的 iOS 实现,重点关注从 modal 内的组件进行呈现以及页脚导航。在最新的 NS7 项目中确认该失败,然后验证在该上下文中拍照可以正常工作,且不会出现 UIImagePickerController 的窗口层级警告。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ios, typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100