Latest 0.0.1
Homepage https://github.com/z1u24/webview_ios_framework
License MIT
Platforms ios
Dependencies pi_module
Authors

webview_ios_framework

incloud

1.Argon2Hash 加密算法
2.QRCode 二维码扫描
3.CameraPicker 相机
4.AudioRecorder 录音功能
5.ImagePiker 相册选择
6.DeviceIdProVider UUID
7.WebViewManage 新建webView
ps:详情参建webView_ios_module

How to use

主webView初始化:
    为项目中的appdelegate添加父类piAppDelegate
    将didFinishLaunchingWithOptions方法交由父类实现
        [super application:application didFinishLaunchingWithOptions:launchOptions];
    将高层资源文件都存放到项目中‘assets’目录下
    在plist中添加‘URL_PATH’字段作为主页路径(不包含assets)
    PS:如果要使用相机等权限也需要在plist中添加相应字段

ADD DIY CLASS

1.自己写的module可以直接使用(class请继承BaseObject)

2.class中不允许同名函数,不支持多态,请注意“:”前的字段是否唯一

3.方法最后一个参数为CallJS(成功/失败,参数数组),关于更多信息请查看JSBridge.h文件

Latest podspec

{
    "name": "pi_framework",
    "version": "0.0.1",
    "summary": "A short description of pi_framework.",
    "description": "A short description of pi_framework.",
    "homepage": "https://github.com/z1u24/webview_ios_framework",
    "license": "MIT",
    "authors": {
        "yineng": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/z1u24/webview_ios_framework.git",
        "tag": "0.0.1"
    },
    "source_files": "pi/**/*.{h,m}",
    "dependencies": {
        "pi_module": []
    }
}

Pin It on Pinterest

Share This