https://github.com/fidetro/ktsandbox
iOS sandbox debug tool
https://github.com/fidetro/ktsandbox
Last synced: about 2 months ago
JSON representation
iOS sandbox debug tool
- Host: GitHub
- URL: https://github.com/fidetro/ktsandbox
- Owner: Fidetro
- License: mit
- Created: 2019-02-15T12:43:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-02T09:56:12.000Z (about 6 years ago)
- Last Synced: 2025-03-09T12:34:01.072Z (2 months ago)
- Language: Swift
- Homepage:
- Size: 236 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KTSandbox
iOS sandbox debug toolKTSandbox是一个方便开发者调试沙盒内容的工具。
## 如何使用
```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow.init(frame: UIScreen.main.bounds)
window?.rootViewController = ViewController()
window?.makeKeyAndVisible()
//在makeKeyAndVisible()后调用一行代码即可
KTSandbox.share.enable()
return true
}
```在任意界面从右边缘往左滑,就可以看到下图的沙盒内文件:
需要发送文件至电脑,或保存到相册时,点击左上角选择,然后多选需要发送的文件,从左边缘往右滑,就可以看到下图:
## CocoaPod
```ruby
platform :ios, '8.0'
target 'YouApp' do
use_frameworks!
pod 'KTSandbox'
end
```