xwp

XWPublish

📤Publish state, release dynamic wrapper class, one line of code can be called. 发布状态,发布动态封装类,一行代码即可调用.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

66

Maintenance

Last Commit

3yrs ago

Contributors

1

Package

Dependencies

1

License

MIT

Categories

Readme

XWPublish

iOS 10以后需要在info.plist文件中额外加相机系统权限

<key>NSPhotoLibraryUsageDescription</key>  
<string>系统使用您的相机权限</string>

发布状态

两行代码集成发布功能:


XWPublishController *publishVC = [[XWPublishController alloc] init];
[self presentViewController:publishVC animated:YES completion:nil];

效果图:

具体使用方法:

    *1.导入'XWPublish'文件夹到项目中
    *2.导入 ' #import "XWPublishController.h" '
    *3.在需要发布的按钮点击方法中
        *XWPublishController *publishVC = [[XWPublishController alloc] init];
        *[self presentViewController:publishVC animated:YES completion:nil];

-- *在XWPublishController.m中submitToServer方法中编写上传服务器的代码


*textfield或者textview中长按出现的(全选,复制,粘贴)显示成中文 如果在文本输入框中长按复制,粘贴为英文,可以在info.plist中添加Localized resources can be mixed,设置为YES. 来获取当前手机的语言

我的博客

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100