iOS系统中的UIPasteboard是个单例,实例化之后设置string,发现string属性的值为空,也就不能粘贴。原因如下:初始化方法使用alloc-init解决办法:初始化方法使用generalPasteboard即可正常粘贴