ios - 是否可以将摄像头集成到导航 Controller 中?

标签 ios camera

我想在我 future 的项目之一中使用相机。现在我想知道是否可以将普通 View 中的相机嵌入到导航 Controller 中。或者它总是模态的?

如果可能,您将如何实现?

最佳答案

我认为您不能推送 UIImagePickerController,因为 Apple does not allow stacking of navigation bars !

也许您可以像这样将它添加到 subview 中:

[self.view addSubview:self.imagePickerController.view];

关于ios - 是否可以将摄像头集成到导航 Controller 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25365764/

相关文章:

ios - HealthKit 未返回更新信息

c++ - 无法识别 glMatrixMode() 或 GL_PROJECTION 并提供所有需要的库

android - 为什么我在图库中看不到我拍摄的照片?

python - 如何使用 Python 在 Blender 2.6 中设置事件相机后重新渲染场景

iOS相机应用程序,从前置摄像头切换到后置摄像头时闪烁

ios - 基于 subview 自动设置容器 View 的高度

iphone - 尝试在 objective-c 中提交 Reddit 链接时生成的 error.USER_REQUIRED

c# - 在 headless (headless)模式下独立运行 Unity,同时捕获屏幕截图

security - iOS/Security.Framework 的 CRL 和 OCSP 行为?

ios - 如何在 google 中获取选定的位置坐标在 TableView ios swift 中放置自动完成预测