Latest 0.0.4
Homepage https://github.com/Fidetro/KTSandbox
License MIT
Platforms ios 8.0
Dependencies File
Authors

iOS sandbox debug tool

KTSandbox是一个方便开发者调试沙盒内容的工具。

如何使用

    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
    }

在任意界面从右边缘往左滑,就可以看到下图的沙盒内文件:
KTSandbox

需要发送文件至电脑,或保存到相册时,点击左上角选择,然后多选需要发送的文件,从左边缘往右滑,就可以看到下图:
KTSandbox

CocoaPod

platform :ios, '8.0'
target 'YouApp' do
use_frameworks!
pod 'KTSandbox'
end

Latest podspec

{
    "name": "KTSandbox",
    "version": "0.0.4",
    "summary": "iOS sandbox debug tool.",
    "homepage": "https://github.com/Fidetro/KTSandbox",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "fidetro": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Fidetro/KTSandbox.git",
        "tag": "0.0.4"
    },
    "source_files": "Sources/*.{swift}",
    "dependencies": {
        "File": [
            "~> 0.0.1"
        ]
    }
}

Pin It on Pinterest

Share This