问题标签 [ios9.1]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
5556 浏览

ios - 有没有办法将实时照片保存到照片库?

我将存储的图像和视频文件传递给: PHLivePhoto.requestLivePhotoWithResourceFileURLs并获取一个PHLivePhoto可以在PHLivePhotoView. 但我想知道,一旦我有了,PHLivePhoto有没有办法将它保存到照片库中?

0 投票
4 回答
14409 浏览

ios - 适用于 iOS 9 的 xcode 7.1 缺少 Objective C 领域静态框架所需的 libc++.dylib

我正在关注此文档以在我的 iOS 应用程序中集成领域。

iOS 的 Realm 静态框架

我的问题在第 3 步。我找不到 libc++.dylib。我找到了其他一些 .tbd 文件,但它们都不是 libc++。

我关注了其他一些关于使用“添加其他”选项并执行 command+shift+G 并找到该库的 SO 帖子,但它也不在该列表中。

有谁知道任何解决方法?

0 投票
1 回答
242 浏览

ios - iOS 9.0.2 Web 视图 Twitter API 中的问题

我有问题,在网络视图中,当我调用 twitter api 调用登录时,即使在我选择退出 ATS 后,它也会在 iOS 9.0.2 中打开 Twitter 应用程序,而不是在 web 视图中打开。

参考链接1:https ://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/webview/

参考链接2:https ://developer.xamarin.com/guides/ios/platform_features/introduction_to_ios9/ats/#Opting-Out-of-ATS

0 投票
0 回答
415 浏览

ios - 在 iOS 9 中强制设备定向到肖像不起作用

我正在使用此代码片段来强制更改设备方向。它在 iOS 9 之前运行良好,但不适用于 iOS 9。

iOS 9 中是否有任何更改?

0 投票
2 回答
7502 浏览

ajax - WKWebView 无法触发 ajax 在本地加载文件

我将所有 html 嵌入到 WKWebView 中,直到我认识到 WKWebView 无法在本地加载 xml 文件之前一切正常

我的 UIWebView 代码

注意:我使用的是 XCode7.1 Beta、Objective-C、ios9.1、WKWebView

0 投票
2 回答
934 浏览

ios - UISplitViewController 在 iOS 9 中是否存在保留循环错误?

在以下示例中,我将展示一个UIViewController以 aUIStackViewController作为其子级的 a:

在 iOS 9 和 9.1 中,上面的代码会打印the split view controller has leaked,表明 UIStackViewController 已经泄漏(更重要的是,它也泄漏了它的主视图控制器和详细视图控制器)。

0 投票
5 回答
15074 浏览

ipad - 如何添加 167x167 iPad Pro 应用程序图标?

Xcode 7.1 的应用程序图标资产目录中没有空间用于 iPad Pro 的 167x167 应用程序图标......资产目录不是当前添加应用程序图标的最佳实践吗?如果不是,我们应该如何添加它?

0 投票
2 回答
546 浏览

ios - UIVisualEffectView 在 iOS 9.1 中不起作用

我一直在我的 UIVisualEffectViews 上获得灰色背景,并在 iOS 9.1 中启用模糊

如果我启用活力,则视图只会获得透明背景。这可以在代码和情节提要中创建视图来重现。

我想知道是否还有其他人遇到这个问题?相同的代码适用于 iOS 9.0 和 8.x。这只发生在 iPhone 6 中,但它适用于 iPhone 6 Plus 和其他设备。

可能与UIVisualEffectView 在 iPhone 6 上不工作有关- 唯一的区别是我的代码在 iOS 9.0 上工作 -

0 投票
2 回答
710 浏览

ios - No DeviceSupport for 9.1 in developer directory

Xcode is unable to install my app on an iPhone 6s with new 9.1 iOS version. It reports the device to be ineligible and when I select devices it says it cannot find the Developer Disk Image. In fact once I went to:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

I just found directories up to 9.0. I tried copying that by giving name 9.1, but it did not work. Where do I find the developer disks for 9.1?

0 投票
1 回答
179 浏览

bluetooth - iOS9.1 ---不能通过'LightBlue'配对BLE设备?

今天,我将iOS更新到iOS9.1。真正糟糕的是无法通过“LightBlue”配对 BLE 设备。

iOS9.0.2及更早的OS版本都可以。

谁能告诉我 Core Bluetooth 发生了什么变化?

我需要更新我的应用程序以修复 App Store 中的这个错误,这对 iOS9.1 来说是多么糟糕的事情!