Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Safari 扩展上的应用程序传输安全
我的应用程序扩展需要打开许多网站的 URL 我这样做 for NSExtensionItem item in self extensionContext inputItems for NSItemProvider itemProvider
ios
Objectivec
nsstring
nsurl
iOS9
CGImageSourceCreateWithURL 始终返回 NULL
我需要在不加载或下载图像的情况下读取图像的属性 事实上 我已经实现了一个简单的方法 使用 CGImageSourceCreateWithUrl 来完成此任务 我的问题是它总是返回错误 因为似乎 imageSource 为空 那么我能做些什么
Objectivec
nsurl
cgimagesource
如何在多部分http post请求中发布图像数组
我想上传一组图像 我应该如何附加array to NSMutableData 这是我的代码 func createBodyWithParametersMulti parameters String String filePathKey St
ios
swift
nsurl
NSURL baseURL 返回 nil。获取实际基本 URL 的任何其他方法
我想我不理解 baseURL 的概念 这 NSLog BASE URL NSURL URLWithString http www google es NSURL URLWithString http www google es baseUR
Objectivec
nsurl
如何对 NSString 进行 URL 编码
我正在尝试对字符串进行 url 编码 但 NSURLConnection 由于 错误的 url 而失败 这是我的网址 NSString address mp streetAddress NSString encodedAddress add
encoding
nsstring
nsurl
如何从 URL 方案中获取参数。
我在我的 iPhone 应用程序中使用 URL 方案 从一个页面将用户切换到 safari 然后从网页单击一个按钮 我将恢复到应用程序 此时 一些参数是由网页传递的 例如 myapp parameter 1 如何从我的应用程序中找到此参数
ios
iphone
Objectivec
nsurl
urlscheme
像 Facebook 一样从任何 URL 获取特定图像
My Question might be looks like similar to other questions but really this is not according to my knowledge i can t unde
ios
Objectivec
xcode
nsurl
我可以通过 NSURLSession 在 Swift 中以某种方式执行同步 HTTP 请求吗
我可以通过某种方式进行同步 HTTP 请求吗NSURLSession在斯威夫特 我可以通过以下代码执行异步请求 if let url NSURL string https 2ch hk b threads json let task NSU
http
swift
HttpRequest
nsurl
从项目特定路径获取资源 URL
我需要通过从项目目录 又名 mainBundle 开始的路径检索 Xcode 项目中包含的资源的 URL 因此 如果我指定的路径为 and archer acknowledge 1 wav 我需要从中创建一个 URL 我知道我可以使用NSU
swift
nsurl
NSFileManager
nsbundle
URL编码iOS NSURL错误
在桌面上的 Firefox Chrome 浏览器中打开的 URL 在 iPhone 上的 WebView 中无法打开 该 URL 据称正在访问 GET 请求 创建 NSURL 时不进行百分号转义 则不会生成 url 使用percentesc
ios
REST
encoding
nsurl
HttpGet
NSURL、URL 和 NSData、数据
我是斯威夫特的新手 当我遇到这个问题时 我正在从互联网上获取图像NSURL and URL and NSData and Data 我真的很困惑 我使用哪些 我使用了以下代码 但我必须转换类型 如下所示 这样做的正确方法是什么以及两者之间的
swift
URL
nsurl
我可以创建一个引用内存中 NSData 的 NSURL 吗?
的文档NSURL https developer apple com library ios documentation Cocoa Reference Foundation Classes NSURL Class Reference Re
ios
cocoa
NSData
nsurl
随机网站按钮
我想这很简单 但我只是找不到完全适合我的问题的答案 我想制作一个按钮 从我给他的列表中打开随机 URL 例如 google youtube 和 facebook 这是我的代码行 现在仅连接到谷歌 IBAction site id sende
ios
Objectivec
Random
nsurl
urllink
如何在 Swift 中使用 openURL 打电话?
我已经将打电话的代码从 Objective C 转换为 Swift 但是在 Objective C 中 我们可以设置我们想要打开的 URL 的类型 例如电话 短信 网络 如下所示 tel xx mailto email protected
swift
nsurl
xcode6
openURL
本地文件的 NSURLThumbnailDictionaryKey 为空
我想获取必须在我的应用程序中显示的文件的缩略图 我在这里使用 NSURL NSDictionary thumbnails nil BOOL success fileURL getResourceValue thumbnails forKey
cocoa
icloud
nsurl
osxyosemite
appkit
containerURLForSecurityApplicationGroupIdentifier 获取 nil 值
我正在制作两个 iPad 应用程序 它们与一个文件进行通信并从一个文件中获取所有数据 我搜索并找到这个 containerURLForSecurityApplicationGroupIdentifier 我们可以创建组并存储在其中 我写了下
ios
iPad
ios7
NSFileManager
nsurl
如何向警报添加 URL?
有没有一种方法可以为寻找附加信息的用户添加 url 我的警报看起来像这样 let alert UIAlertController title Alert details message For more detailed informati
swift
nsurl
UIAlertController
iOS 斯威夫特。如何仅从 UIImage (NSURL) 获取 GPS 元数据?
引用仅具有 NSURL 的图像 如何从中获取 GPS 元数据 当然 我可以从 NSURL 加载 UIImage 但是然后呢 我在这里找到的大多数答案都是关于 UIImagePicker 的 然后使用 ALAssets 但我没有这样的选择 回
ios
swift
GPS
UIImage
nsurl
URLWithString:返回 nil
这可能很容易 但我似乎不明白为什么URLWithString 在这里返回零 localisationName is a arbitrary string here NSString webName localisationName stri
iphone
Objectivec
URL
nsstring
nsurl
在 Swift 中创建一个目录并在其中存储文件
我正在创建一个目录 以便我可以将临时视频保存到其中 因为 TempVideos 是一个文件夹 现在我的视频剪辑将位于该文件夹内 func createTempDirectoryToStoreVideos var error NSError
ios
swift
directory
nsurl
«
1
2
3
»