锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品九九亚洲精品,久久综合视频网,久久精品国产网红主播http://www.shnenglu.com/ifeng/archive/2013/01/24/197526.html鍐烽攱鍐烽攱Thu, 24 Jan 2013 02:40:00 GMThttp://www.shnenglu.com/ifeng/archive/2013/01/24/197526.htmlhttp://www.shnenglu.com/ifeng/comments/197526.htmlhttp://www.shnenglu.com/ifeng/archive/2013/01/24/197526.html#Feedback0http://www.shnenglu.com/ifeng/comments/commentRss/197526.htmlhttp://www.shnenglu.com/ifeng/services/trackbacks/197526.html2.闊充箰銆佷綅緗乂OIP鍙互鍚庡彴榪愯銆?br />3.浠OIP涓轟緥錛岄渶瑕佸湪鍚庡彴淇濇寔涓鏉¢暱榪炴帴錛屽厛灝嗘socket鎵撴爣璁版敞鍐岋紝榪涘叆鍚庡彴鏃舵socket浼氱敱緋葷粺鎵樼錛孉PP榪涘叆浼戠湢銆備負浜嗙淮鎸侀暱榪炴帴錛?br />緋葷粺浼氬湪鏈鐭?00縐掔殑闂撮殧鍐呭敜閱掍竴嬈★紝鏈夋柊鏁版嵁鍒版潵鏃朵篃浼氬敜閱掞紝浣嗘槸蹇呴』鍦?0縐掑唴澶勭悊瀹屾瘯錛屾鏃訛紝鍙互閫氳繃鏈湴閫氱煡緇欑敤鎴楓?br />璇︾粏鏂囨。鍙傝瀹樻柟鏂囨。銆傛湰鏂囦粎浣滅瑪璁般?img src ="http://www.shnenglu.com/ifeng/aggbug/197526.html" width = "1" height = "1" />

鍐烽攱 2013-01-24 10:40 鍙戣〃璇勮
]]>
UIView鐨勬棆杞?/title><link>http://www.shnenglu.com/ifeng/archive/2011/12/21/162548.html</link><dc:creator>鍐烽攱</dc:creator><author>鍐烽攱</author><pubDate>Wed, 21 Dec 2011 11:30:00 GMT</pubDate><guid>http://www.shnenglu.com/ifeng/archive/2011/12/21/162548.html</guid><wfw:comment>http://www.shnenglu.com/ifeng/comments/162548.html</wfw:comment><comments>http://www.shnenglu.com/ifeng/archive/2011/12/21/162548.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/ifeng/comments/commentRss/162548.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ifeng/services/trackbacks/162548.html</trackback:ping><description><![CDATA[      鍋氳繃鍑犳鏈夊叧UIView鍧愭爣鍙樻崲鐨勶紝浣嗘槸緇忓父涓嶈兘寰楀埌鑷繁鎯寵鐨勬晥鏋滐紝浠婂ぉ灝辨妸瀹冧粩緇嗙爺絀朵簡涓嬨傝涓嬫潵絳変互鍚庡繕璁扮殑鏃跺欏啀澶嶄範<br /><div><ul style="margin-left: 0.0208in; direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; "> <p style="margin:0in;font-size:10.0pt"><span style="font-family:SimSun">閲嶅啓</span><span style="font-family:Calibri">shouldAutorateToInterfaceOrientation:</span><span style="font-family:SimSun">錛岄檺鍒舵煇涓柟鍚?/span><span style="font-family: SimSun; font-size: 10pt; ">浼氭敼鍙樺師鐐圭殑浣嶇疆錛屽師鐐逛細涓鐩翠繚鎸佸湪宸︿笂瑙掞紝浣嗗凡緇忎笉鏄師鏉ョ殑宸︿笂瑙掍簡</span></p> <p style="margin:0in;font-family:SimSun;font-size:10.0pt"> </p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:Calibri">setStatusBarOrientation.</span><span style="font-family:SimSun">鏀瑰彉鐘舵佹爮鐨勬柟鍚戙傚畠涓嶄細鏀瑰彉鍘熺偣鐨勪綅緗紝浣嗕細鏀瑰彉閿洏鐨勬柟鍚?/span></p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:SimSun">鏃嬭漿鍓?/span><span style="font-family:Calibri">self.myview</span><span style="font-family:SimSun">鐨?/span><span style="font-family:Calibri">frame ={0,0,320,50}</span></p> <p style="margin:0in;font-family:SimSun;font-size:10.0pt">CGAffineTransform at =CGAffineTransformMakeRotation(M_PI/2);</p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:SimSun">[self.</span><span style="font-family:Calibri">myview </span><span style="font-family:SimSun">setTransform:at];</span></p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:SimSun">鏃嬭漿鍚?/span><span style="font-family:Calibri">frame={135,-135,50,320},</span><span style="font-family:SimSun">瑙嗗浘鐨勬墍鏈夊儚绱犳棆杞?/span><span style="font-family: Calibri">90</span><span style="font-family:SimSun">搴?/span></p> <p style="margin:0in;font-family:瀹嬩綋;font-size:10.0pt">鍧愭爣鏄浉瀵逛簬鐖惰鍥劇殑</p> <p style="margin:0in;font-family:瀹嬩綋;font-size:10.0pt"> </p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:瀹嬩綋">鍋囧</span><span style="font-family:Calibri">view</span><span style="font-family:瀹嬩綋">宸茬粡杞垚绔栫殑錛岃繖鏃墮氳繃璁劇疆</span><span style="font-family: Calibri">frame</span><span style="font-family:瀹嬩綋">鑰屼笉鏄氳繃</span><span style="font-family:Calibri">setTransform</span><span style="font-family:瀹嬩綋">寮哄埗鎴愭í鐨勮瘽錛屼細鎴帀閮ㄥ垎鍥懼儚</span></p> <p style="margin:0in;font-family:瀹嬩綋;font-size:10.0pt"> </p> <p style="margin:0in;font-size:10.0pt"><span style="font-family:瀹嬩綋">鍧愭爣澶氭鍙樻崲鐨勫悎鎴愶紝瑕佷互琚彉鎹㈢殑</span><span style="font-family:Calibri">view</span><span style="font-family:瀹嬩綋">鐨勫眬閮ㄥ潗鏍囩郴涓哄弬鐓э紝姣斿</span></p> <p style="margin-top: 0in; margin-right: 0in; margin-bottom: 0in; margin-left: 0in; font-family: SimSun; font-size: 10pt; "> </p><div style="font-size: 13px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #cccccc; border-right-color: #cccccc; border-bottom-color: #cccccc; border-left-color: #cccccc; border-image: initial; padding-right: 5px; padding-bottom: 4px; padding-left: 4px; padding-top: 4px; width: 98%; word-break: break-all; background-color: #eeeeee; "><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->testView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 50)];<br />UILabel*label = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 100, 20)];<br />label.text =@"Test";<br />label.tag=100;<br />[testView addSubview:label];<br />姝ゆ椂鐨?nbsp;frame ={0,0,320,50}</div><p> </p><div><img src="http://www.shnenglu.com/images/cppblog_com/ifeng/鏈懡鍚嶅浘鐗?.png" width="321" height="460" alt="" /> <br /><br /><div title="Print Page Break" style="font-size: 1px; page-break-before: always; vertical-align: middle; height: 1px; background-color: #c0c0c0"> <br /> </div><div style="background-color:#eeeeee;font-size:13px;border:1px solid #CCCCCC;padding-right: 5px;padding-bottom: 4px;padding-left: 4px;padding-top: 4px;width: 98%;word-break:break-all"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />-->CGAffineTransform at =CGAffineTransformMakeRotation(M_PI/2);鍏堥『鏃墮挓鏃嬭漿90<br />at =CGAffineTransformTranslate(at,200,0);,<br />[self.testView setTransform:at]; </div></div></ul>         <img src="http://www.shnenglu.com/images/cppblog_com/ifeng/鏈懡鍚嶅浘鐗?.png" width="323" height="460" alt="" /><br /><div><p style="margin:0in;font-size:10.0pt"><span style="font-family:SimSun">姝ゆ椂鐨?/span><span style="font-family:Calibri"> frame ={135,65,50,320},</span><span style="font-family:SimSun">鍙互鐪嬪埌瀹介珮宸茬粡鍙嶈繃鏉ヤ簡錛?/span><span style="font-family:Calibri">view</span><span style="font-family: SimSun">涓殑鍍忕礌鏂瑰悜涔熸敼鍙樹簡錛岃屽鏋滃彧鏄敤</span><span style="font-family:Calibri">setFrame</span><span style="font-family:SimSun">鏉ユ敼鍙樺楂樼殑璇濇槸涓嶄細鏀瑰彉鍍忕礌鏂瑰悜鐨?/span></p></div><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span><span style="background-color: #eeeeee; font-size: 13px; "> </span></div><img src ="http://www.shnenglu.com/ifeng/aggbug/162548.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ifeng/" target="_blank">鍐烽攱</a> 2011-12-21 19:30 <a href="http://www.shnenglu.com/ifeng/archive/2011/12/21/162548.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>UIWebView鍔犱笂safari椋庢牸鍓嶈繘鍚庨鎸夐挳http://www.shnenglu.com/ifeng/archive/2011/06/02/147984.html鍐烽攱鍐烽攱Thu, 02 Jun 2011 14:46:00 GMThttp://www.shnenglu.com/ifeng/archive/2011/06/02/147984.htmlhttp://www.shnenglu.com/ifeng/comments/147984.htmlhttp://www.shnenglu.com/ifeng/archive/2011/06/02/147984.html#Feedback0http://www.shnenglu.com/ifeng/comments/commentRss/147984.htmlhttp://www.shnenglu.com/ifeng/services/trackbacks/147984.html

Code Example: Drawing the iPhone Back Button錛堣漿杞斤級

Recently, I had need to provide a back button similar to the one used in Mobile Safari for a consulting project.

Many of the buttons used in the built-in iPhone applications are made available via the SDK with built in button types and graphics. Unfortunately, the back button is not one of these.

Because I needed to display the toolbar button from inside a static library which can not include images, I had to render the back arrow directly in code.

Since this was a bit time consuming, I thought I would share in hopes that it saves someone else a little bit of time.

- (CGContextRef)createContext
{
// create the bitmap context
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGContextRef context = CGBitmapContextCreate(nil,27,27,8,0,
colorSpace,kCGImageAlphaPremultipliedLast);
CFRelease(colorSpace);
return context;
}
- (CGImageRef)createBackArrowImageRef
{
CGContextRef context = [self createContext];
// set the fill color
CGColorRef fillColor = [[UIColor blackColor] CGColor];
CGContextSetFillColor(context, CGColorGetComponents(fillColor));
CGContextBeginPath(context);
CGContextMoveToPoint(context, 8.0f, 13.0f);
CGContextAddLineToPoint(context, 24.0f, 4.0f);
CGContextAddLineToPoint(context, 24.0f, 22.0f);
CGContextClosePath(context);
CGContextFillPath(context);
// convert the context into a CGImageRef
CGImageRef image = CGBitmapContextCreateImage(context);
CGContextRelease(context);
return image;
}
- (UIBarButtonItem *)backButton
{
CGImageRef theCGImage = [self createBackArrowImageRef];
UIImage *backImage = [[UIImage alloc] initWithCGImage:theCGImage];
CGImageRelease(theCGImage);
UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithImage:backImage
style:UIBarButtonItemStylePlain
target:self.webView
action:@selector(goBack)];
[backImage release], backImage = nil;
return [backButton autorelease];
}


鍐烽攱 2011-06-02 22:46 鍙戣〃璇勮
]]>
浣跨敤闈欐佸簱鏃跺嚱鏁拌皟鐢ㄦ寚鍚戦敊璇?/title><link>http://www.shnenglu.com/ifeng/archive/2011/05/27/147334.html</link><dc:creator>鍐烽攱</dc:creator><author>鍐烽攱</author><pubDate>Fri, 27 May 2011 01:23:00 GMT</pubDate><guid>http://www.shnenglu.com/ifeng/archive/2011/05/27/147334.html</guid><wfw:comment>http://www.shnenglu.com/ifeng/comments/147334.html</wfw:comment><comments>http://www.shnenglu.com/ifeng/archive/2011/05/27/147334.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/ifeng/comments/commentRss/147334.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/ifeng/services/trackbacks/147334.html</trackback:ping><description><![CDATA[鏈榪戣皟璇昳phone欏圭洰鏃訛紝鍙戠幇浣跨敤闈欐佸簱鏃惰皟鐢ㄥ嚱鏁癆浼氱洿鎺ヨ煩鍒癇鍑芥暟鍘諱簡錛屽悗鏉ユ墠鍙戠幇鍘熸潵浣跨敤闈欐佸簱鍑芥暟鏃舵槸鏍規嵁澶存枃浠剁殑鍑芥暟澹版槑欏哄簭鍘誨畾浣嶅嚱鏁扮殑錛岀敱浜庢垜鐨勯潤鎬佸簱鐨勫ご鏂囦歡鐨勫嚱鏁板0鏄庨『搴忚窡浣跨敤搴撴椂娣誨姞鐨勫ご鏂囦歡閲岀殑鍑芥暟澹版槑欏哄簭涓嶄竴鑷達紝瀵艱嚧浜嗘澂鍏鳳紝緗戜笂鎼滅儲浜嗕笅鏈変簺浜鴻鏄寜澶存枃浠舵潵鎼滅儲鍑芥暟鐨勶紝鏈変簺浜哄張璇翠笉鏄紝鑾潪鍚勪釜騫沖彴閮戒笉涓鏍鳳紵姹傝В絳旓紝鏈夋湪鏈?.. <img src ="http://www.shnenglu.com/ifeng/aggbug/147334.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/ifeng/" target="_blank">鍐烽攱</a> 2011-05-27 09:23 <a href="http://www.shnenglu.com/ifeng/archive/2011/05/27/147334.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.mljy168.cn" target="_blank">久久高清一级毛片</a>| <a href="http://www.xhlwd.cn" target="_blank">久久精品国产半推半就</a>| <a href="http://www.818jk.cn" target="_blank">综合久久一区二区三区 </a>| <a href="http://www.par354.cn" target="_blank">伊人 久久 精品</a>| <a href="http://www.allevery.cn" target="_blank">精品多毛少妇人妻AV免费久久</a>| <a href="http://www.fjhby.cn" target="_blank">久久婷婷人人澡人人爽人人爱</a>| <a href="http://www.wongceline.cn" target="_blank">午夜人妻久久久久久久久</a>| <a href="http://www.t5573.cn" target="_blank">久久精品蜜芽亚洲国产AV</a>| <a href="http://www.iscrip.cn" target="_blank">久久99精品国产一区二区三区</a>| <a href="http://www.chaigan.cn" target="_blank">久久免费视频6</a>| <a href="http://www.shxwy.cn" target="_blank">www性久久久com</a>| <a href="http://www.8351840.cn" target="_blank">久久综合色老色</a>| <a href="http://www.inconfont.cn" target="_blank">久久久久人妻一区精品色</a>| <a href="http://www.wcjty.cn" target="_blank">久久久WWW成人免费毛片</a>| <a href="http://www.sheersky.cn" target="_blank">性做久久久久久久</a>| <a href="http://www.udhv.cn" target="_blank">女同久久</a>| <a href="http://www.yahooproxy.cn" target="_blank">7777久久亚洲中文字幕</a>| <a href="http://www.tvhhm.cn" target="_blank">久久久久久免费视频</a>| <a href="http://www.hystech.cn" target="_blank">久久久精品免费国产四虎</a>| <a href="http://www.stargaze3s.cn" target="_blank">亚洲精品久久久www</a>| <a href="http://www.0813e.cn" target="_blank">久久青草国产手机看片福利盒子</a>| <a href="http://www.xczg.org.cn" target="_blank">亚洲精品久久久www</a>| <a href="http://www.56dn.cn" target="_blank">久久精品成人免费观看97</a>| <a href="http://www.4gbbs.cn" target="_blank">91精品国产色综合久久</a>| <a href="http://www.shangxuewenhua.cn" target="_blank">性做久久久久久免费观看 </a>| <a href="http://www.3344pltn.cn" target="_blank">狠狠人妻久久久久久综合</a>| <a href="http://www.domino111.com.cn" target="_blank">久久精品卫校国产小美女</a>| <a href="http://www.d2338.cn" target="_blank">品成人欧美大片久久国产欧美</a>| <a href="http://www.guceka.cn" target="_blank">久久综合国产乱子伦精品免费</a>| <a href="http://www.yundizhijia.cn" target="_blank">欧美午夜A∨大片久久 </a>| <a href="http://www.yinbaomall.cn" target="_blank">婷婷久久五月天</a>| <a href="http://www.tobeok.cn" target="_blank">一本色道久久综合狠狠躁篇</a>| <a href="http://www.fuhuazhan.cn" target="_blank">久久99精品久久久久久9蜜桃</a>| <a href="http://www.jituansms.cn" target="_blank">久久久久久亚洲AV无码专区</a>| <a href="http://www.9kgat.cn" target="_blank">狠狠色狠狠色综合久久</a>| <a href="http://www.k8uvo.cn" target="_blank">久久精品免费全国观看国产</a>| <a href="http://www.0558pet.cn" target="_blank">久久伊人五月天论坛</a>| <a href="http://www.hbdmw.cn" target="_blank">欧美国产成人久久精品</a>| <a href="http://www.wwwh0930com.cn" target="_blank">久久久精品国产Sm最大网站</a>| <a href="http://www.vtql.cn" target="_blank">理论片午午伦夜理片久久</a>| <a href="http://www.jtlyr.cn" target="_blank">武侠古典久久婷婷狼人伊人</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>