{"rsdb":{"rid":"194764","subhead":"","postdate":"0","aid":"138711","fid":"104","uid":"1","topic":"1","content":"
\n

  <\/p> \n

\u751f\u6210\u4e8c\u7ef4\u7801:<\/span><\/p> \n

 <\/p> \n

\u5728\u751f\u6210\u4e8c\u7ef4\u7801\u7684\u5e93\u4e2dQREncoder\u6700\u4e3a\u5e38\u89c1,\u4f46\u662f\u7531\u4e8e\u4e2d\u6587\u5b57\u7b26\u7684\u7279\u6b8a\u6027,\u751f\u6210\u4e2d\u6587\u7684\u65f6\u5019\u6709\u65f6\u4f1a\u51fa\u73b0\u4e00\u5b9a\u7684\u9519\u8bef,\u6240\u4ee5\u5efa\u8bae\u4f7f\u7528libqrencode,\u662f\u4e00\u4e2a\u7eafC\u7f16\u5199\u7684\u7c7b\u5e93.<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p> \n

 <\/p> \n

\u4ee5libqrencode\u4e3a\u4f8b:<\/span><\/span><\/p> \n

libqrencode\u5b98\u7f51:http:\/\/fukuchi.org\/works\/qrencode\/index.html.en<\/a><\/span><\/p> \n

github\u5730\u5740:https:\/\/github.com\/fukuchi\/libqrencode<\/a><\/span><\/p> \n

\u4e0d\u8fc7\u8be5\u5de5\u7a0b\u6ca1\u6709\u9488\u5bf9iOS\u63d0\u4f9b\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u56fe\u50cf\u7684\u4ee3\u7801,\u7f51\u7edc\u4e0a\u6709\u4eba\u65b0\u589e\u4e86QRCodeGenerator\u7c7b,\u9488\u5bf9iOS\u4f18\u5316.<\/span><\/span><\/span><\/span><\/span><\/span><\/p> \n

\u4e0b\u8f7d\u5730\u5740:http:\/\/download.csdn.net\/download\/sjx19871225\/5065683<\/a><\/span><\/p> \n

 <\/p> \n

\u4f7f\u7528:<\/span><\/p> \n

\u5c06libqrencode\u52a0\u5165\u5230\u5de5\u7a0b\u4e2d,\u5728\u9700\u8981\u7528\u5230\u7684\u5730\u65b9\u5f15\u5165"QRCodeGenerator.h"<\/span><\/span><\/span><\/span><\/span><\/p> \n

imageView\u4e3a\u754c\u9762\u9700\u8981\u663e\u793a\u4e8c\u7ef4\u7801\u7684UIImageView;<\/span><\/span><\/p> \n

resultString\u4e3a\u9700\u8981\u751f\u6210\u4e8c\u7ef4\u7801\u7684\u5b57\u7b26\u4e32;<\/span><\/p> \n

imageView.image = [QRCodeGenerator qrImageForString:resultString imageSize:self.imageView.frame.size.height];<\/span><\/p>\n<\/div>","orderid":"0","title":"iOS \u4e8c\u7ef4\u7801\u7684\u751f\u6210 QREncoder","smalltitle":"","mid":"0","fname":"OS X","special_id":"0","bak_id":"0","info":"0","hits":"11657","pages":"1","comments":"0","posttime":"2017-10-11 15:04:17","list":"1507705457","username":"admin","author":"","copyfrom":"","copyfromurl":"","titlecolor":"","fonttype":"0","titleicon":"0","picurl":"https:\/\/www.cppentry.com\/upload_files\/","ispic":"0","yz":"1","yzer":"","yztime":"0","levels":"0","levelstime":"0","keywords":"iOS<\/A> \u4e8c\u7ef4<\/A> \u751f\u6210<\/A> QREncoder<\/A>","jumpurl":"","iframeurl":"","style":"","template":"a:3:{s:4:\"head\";s:0:\"\";s:4:\"foot\";s:0:\"\";s:8:\"bencandy\";s:0:\"\";}","target":"0","ip":"113.108.110.181","lastfid":"0","money":"0","buyuser":"","passwd":"","allowdown":"","allowview":"","editer":"","edittime":"0","begintime":"0","endtime":"0","description":"iOS \u4e8c\u7ef4\u7801\u7684\u751f\u6210 QREncoder","lastview":"1713922199","digg_num":"7529","digg_time":"0","forbidcomment":"0","ifvote":"0","heart":"","htmlname":"","city_id":"0"},"page":"1"}