iOS-发布状态界面github开源

演示效果
这里写图片描述

下载地址:
https://github.com/qxuewei/XWPublish

两行代码集成发布功能:
*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.

猜你喜欢

转载自blog.csdn.net/qiuxuewei2012/article/details/51178372