java, c# , linux, program devloper: iphone 카테고리 글 목록
http://blog1.phps.kr/
blog.visualp.com
2021-05-29T01:04:21+09:00
Textcube 1.10.7 : Tempo primo
아이폰, 아이패드 아이콘 사이즈
java, tomcat, c#
http://blog1.phps.kr/460
2012-02-23T11:11:11+09:00
2012-02-23T11:11:08+09:00
<DIV class=columnContent sizset="26" sizcache="1" jQuery162036327833696844924="230">
<DIV class=board sizset="26" sizcache="1" jQuery162036327833696844924="231">
<DIV class=boardInformation sizset="26" sizcache="1" jQuery162036327833696844924="233">
<DIV class=infoSum jQuery162036327833696844924="234">글 수 <STRONG jQuery162036327833696844924="235">179</STRONG></DIV>
<DIV class=infoView sizset="26" sizcache="1" jQuery162036327833696844924="236">
<UL sizset="26" sizcache="1" jQuery162036327833696844924="237">
<LI class="listTypeClassic icon active" sizset="26" sizcache="1" jQuery162036327833696844924="238"><A title="Classic Style" href="http://cena.co.kr/index.php?mid=tip&listStyle=list" jQuery162036327833696844924="239"><SPAN jQuery162036327833696844924="240">Classic Style</SPAN></A></LI>
<LI class="listTypeZine icon" sizset="27" sizcache="1" jQuery162036327833696844924="241"><A title="Zine Style" href="http://cena.co.kr/index.php?mid=tip&listStyle=webzine" jQuery162036327833696844924="242"><SPAN jQuery162036327833696844924="243">Zine Style</SPAN></A></LI>
<LI class="listTypeGallery icon" sizset="28" sizcache="1" jQuery162036327833696844924="244"><A title="Gallery Style" href="http://cena.co.kr/index.php?mid=tip&listStyle=gallery" jQuery162036327833696844924="245"><SPAN jQuery162036327833696844924="246">Gallery Style</SPAN></A></LI></UL></DIV></DIV>
<DIV class=viewDocument sizset="29" sizcache="1" jQuery162036327833696844924="247">
<DIV class=boardRead sizset="29" sizcache="1" jQuery162036327833696844924="248">
<DIV class=boardReadHeader sizset="29" sizcache="1" jQuery162036327833696844924="249">
<DIV class=titleArea sizset="29" sizcache="1" jQuery162036327833696844924="250">
<H3 class=title sizset="29" sizcache="1" jQuery162036327833696844924="251"><A href="http://cena.co.kr/12629" jQuery162036327833696844924="252">아이폰, 아이패드 아이콘 사이즈</A></H3></DIV></DIV>
<DIV class=boardReadBody sizset="33" sizcache="1" jQuery162036327833696844924="264"><!--BeforeDocument(12629,10453)-->
<DIV class="document_12629_10453 xe_content" sizset="33" sizcache="1" jQuery162036327833696844924="265">
<TABLE style="BACKGROUND: #cccccc" cellSpacing=1 jQuery162036327833696844924="266">
<TBODY jQuery162036327833696844924="267">
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="268">
<TD jQuery162036327833696844924="269">
<P jQuery162036327833696844924="270"> Description </P></TD>
<TD jQuery162036327833696844924="271">
<P jQuery162036327833696844924="272"> Size for iPhone and iPod touch(in pixels) </P></TD>
<TD jQuery162036327833696844924="273">
<P jQuery162036327833696844924="274"> Size for iPad (in pixels) </P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="275">
<TD jQuery162036327833696844924="276">
<P jQuery162036327833696844924="277"> Application icon (<B jQuery162036327833696844924="278">required</B>) </P></TD>
<TD jQuery162036327833696844924="279">
<P jQuery162036327833696844924="280"> 57 x 57</P>
<P jQuery162036327833696844924="281"> 114 x 114 (high resolution)</P></TD>
<TD jQuery162036327833696844924="282">
<P jQuery162036327833696844924="283"> 72 x 72</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="284">
<TD jQuery162036327833696844924="285">
<P jQuery162036327833696844924="286"> App Store icon (<B jQuery162036327833696844924="287">required</B>)</P></TD>
<TD jQuery162036327833696844924="288">
<P jQuery162036327833696844924="289"> 512 x 512</P></TD>
<TD jQuery162036327833696844924="290">
<P jQuery162036327833696844924="291"> 512 x 512</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="292">
<TD jQuery162036327833696844924="293">
<P jQuery162036327833696844924="294"> Small icon for Spotlight</P>
<P jQuery162036327833696844924="295">search results and Settings</P>
<P jQuery162036327833696844924="296">(recommended)</P></TD>
<TD jQuery162036327833696844924="297">
<P jQuery162036327833696844924="298"> 29 x 29</P>
<P jQuery162036327833696844924="299"> 58 x 58 (high resolution)</P></TD>
<TD jQuery162036327833696844924="300">
<P jQuery162036327833696844924="301"> 50 x 50 for Spotlight search results </P>
<P jQuery162036327833696844924="302"> 29 x 29 for Settings</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="303">
<TD jQuery162036327833696844924="304">
<P jQuery162036327833696844924="305"> Document icon </P>
<P jQuery162036327833696844924="306">(recommended for custom</P>
<P jQuery162036327833696844924="307">document types) </P></TD>
<TD jQuery162036327833696844924="308">
<P jQuery162036327833696844924="309"> 22 x 29</P>
<P jQuery162036327833696844924="310"> 44 x 58 (high resolution)</P></TD>
<TD jQuery162036327833696844924="311">
<P jQuery162036327833696844924="312"> 64 x 64</P>
<P jQuery162036327833696844924="313"> 320 x 320</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="314">
<TD jQuery162036327833696844924="315">
<P jQuery162036327833696844924="316"> Web Clip icon</P>
<P jQuery162036327833696844924="317">(recommended for web</P>
<P jQuery162036327833696844924="318">applications and websites)</P></TD>
<TD jQuery162036327833696844924="319">
<P jQuery162036327833696844924="320"> 57 x 57</P>
<P jQuery162036327833696844924="321"> 114 x 114 (high resolution)</P></TD>
<TD jQuery162036327833696844924="322">
<P jQuery162036327833696844924="323"> 72 x 72</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="324">
<TD jQuery162036327833696844924="325">
<P jQuery162036327833696844924="326"> Toolbar and navigation bar</P>
<P jQuery162036327833696844924="327">icon (optional)</P></TD>
<TD jQuery162036327833696844924="328">
<P jQuery162036327833696844924="329"> Approximately 20 x 20</P>
<P jQuery162036327833696844924="330"> Approximately 40 x 40 (high resolution)</P></TD>
<TD jQuery162036327833696844924="331">
<P jQuery162036327833696844924="332"> Approximately 20 x 20</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="333">
<TD jQuery162036327833696844924="334">
<P jQuery162036327833696844924="335"> Tab bar icon (optional)</P></TD>
<TD jQuery162036327833696844924="336">
<P jQuery162036327833696844924="337"> Approximately 30 x 30</P>
<P jQuery162036327833696844924="338"> Approximately 60 x 60 (high resolution)</P></TD>
<TD jQuery162036327833696844924="339">
<P jQuery162036327833696844924="340"> Approximately 30 x 30</P></TD></TR>
<TR style="BACKGROUND: #ffffff" jQuery162036327833696844924="341">
<TD jQuery162036327833696844924="342">
<P jQuery162036327833696844924="343"> Launch image (<B jQuery162036327833696844924="344">required</B>)</P></TD>
<TD jQuery162036327833696844924="345">
<P jQuery162036327833696844924="346"> 320 x 480</P>
<P jQuery162036327833696844924="347"> 640 x 960 (high resolution)</P></TD>
<TD jQuery162036327833696844924="348">
<P jQuery162036327833696844924="349"> For Portrait: 768 x 1004</P>
<P jQuery162036327833696844924="350"> For landscape: 1024 x 748</P></TD></TR></TBODY></TABLE>
<br /></DIV></DIV></DIV></DIV></DIV></DIV><p><strong><a href="http://blog1.phps.kr/460?commentInput=true#entry460WriteComment">댓글 쓰기</a></strong></p>
xcode, background 실행방지
java, tomcat, c#
http://blog1.phps.kr/459
2012-02-20T21:49:57+09:00
2012-02-20T21:49:54+09:00
<P>plist 파일을 열어 <BR>Application does not run in background 항목을 YES 로 설정한다.<BR><BR>어플리케이션이 강제 종료 되더라도 백그라운드에서 돌지 않는다.</P><p><strong><a href="http://blog1.phps.kr/459?commentInput=true#entry459WriteComment">댓글 쓰기</a></strong></p>
UITextfield, 키보드 사용안함,userInteractionEnable=NO
java, tomcat, c#
http://blog1.phps.kr/443
2012-01-13T10:52:48+09:00
2012-01-13T10:52:45+09:00
<P>txtfieldObj.userInteractionEnable=NO;<BR>텍스트 필드 사용안함.<BR>html 의 input type="text" 의 readonly 같음</P><p><strong><a href="http://blog1.phps.kr/443?commentInput=true#entry443WriteComment">댓글 쓰기</a></strong></p>
ios, POST file upload , 파일업로드, 일반파일 처리
java, tomcat, c#
http://blog1.phps.kr/441
2012-01-11T11:53:10+09:00
2012-01-11T11:53:06+09:00
<br><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(63, 33, 124); font-family: AppleGothic; line-height: normal; font-size: medium; "><span style="color: rgb(115, 64, 163); ">NSString</span><span style="color: rgb(0, 0, 0); "> *filePath = [[</span><span style="color: rgb(115, 64, 163); ">NSBundle</span><span style="color: rgb(0, 0, 0); "> </span>mainBundle<span style="color: rgb(0, 0, 0); ">] </span>pathForResource<span style="color: rgb(0, 0, 0); ">:</span><span style="color: rgb(214, 43, 36); ">@"m2"</span><span style="color: rgb(0, 0, 0); "> </span>ofType<span style="color: rgb(0, 0, 0); ">:</span><span style="color: rgb(214, 43, 36); ">@"m4a"</span><span style="color: rgb(0, 0, 0); ">];</span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; font-family: AppleGothic; line-height: normal; font-size: medium; "> <span style="color: rgb(115, 64, 163); ">NSData</span> *soundData = [[<span style="color: rgb(115, 64, 163); ">NSData</span> <span style="color: rgb(63, 33, 124); ">alloc</span>] <span style="color: rgb(63, 33, 124); ">initWithContentsOfMappedFile</span>:filePath];</div></div><p><strong><a href="http://blog1.phps.kr/441?commentInput=true#entry441WriteComment">댓글 쓰기</a></strong></p>
UITableView Combobox
java, tomcat, c#
http://blog1.phps.kr/440
2012-01-05T14:01:40+09:00
2012-01-05T14:01:30+09:00
<A href="https://github.com/floriankrueger/iOS-Examples--UITableView-Combo-Box">https://github.com/floriankrueger/iOS-Examples--UITableView-Combo-Box</A><BR><BR><p><strong><a href="http://blog1.phps.kr/440?commentInput=true#entry440WriteComment">댓글 쓰기</a></strong></p>
UISegmentContrl
java, tomcat, c#
http://blog1.phps.kr/438
2012-01-05T09:24:08+09:00
2012-01-05T09:24:06+09:00
[원문]<A href="http://howtomakeiphoneapps.com/here-is-how-you-use-the-segmented-control-uisegmentedcontrol/129/">http://howtomakeiphoneapps.com/here-is-how-you-use-the-segmented-control-uisegmentedcontrol/129/</A><BR><BR>
<H1 class=title>Here is How You Use the Segmented Control [UISegmentedControl]</H1>
<DIV class=post-meta><SPAN class=small>By</SPAN> <SPAN class="author vcard"><SPAN class=fn><A title="Posts by MattjDrake" href="http://howtomakeiphoneapps.com/author/mattjdrake/" rel=author>MattjDrake</A></SPAN></SPAN> <SPAN class=small>on</SPAN> <ABBR class="date time published" title=2009-09-15T19:09:19+0000>September 15, 2009</ABBR> <SPAN class=small>in</SPAN> <SPAN class=categories><A title="View all posts in Code Tips" href="http://howtomakeiphoneapps.com/topics/code-tips/" rel="category tag">Code Tips</A></SPAN> </DIV>
<DIV class=entry sizset="3" sizcache0046004852786545536="2">
<P>A segmented control displays a list of options that a user can choose from. Each segment sort of looks like a button; the segments remains “pressed” even after the user lifts his or her finger.</P>
<P>You can detect when a different segment is selected and also what corresponding value in an array (that you supply) is referenced by the selected segment. Here is an example of what a UISegmentedControl looks like:<A href="http://www.howtomakeiphoneapps.com/wp-content/uploads/2009/09/Picture-Of-A-Segmented-Control.png"><IMG class="aligncenter size-full wp-image-345" title=Picture-Of-A-Segmented-Control alt="" src="http://www.howtomakeiphoneapps.com/wp-content/uploads/2009/09/Picture-Of-A-Segmented-Control.png" width=263 height=61></A></P>
<P><SPAN style="FONT-SIZE: 15px; FONT-WEIGHT: bold" class=Apple-style-span>Here Are the Steps To Use UISegmentedControl</SPAN></P>
<UL sizset="3" sizcache0046004852786545536="1">
<LI>Create A View Based XCode Project</LI></UL>
<UL sizset="4" sizcache0046004852786545536="1">
<LI>Add A UILabel To the Controller:</LI></UL><PRE>#import "UseSegmentedControlViewController.h"
@implementation UseSegmentedControlViewController
UILabel *label;
- (void)viewDidLoad {
[super viewDidLoad];
//Create label
label = [[UILabel alloc] init];
label.frame = CGRectMake(10, 10, 300, 40);
label.textAlignment = UITextAlignmentCenter;
[self.view addSubview:label];
- (void)dealloc {
[label release];
[super dealloc];
}
@end</PRE>
<UL sizset="5" sizcache0046004852786545536="1">
<LI>Create An Array:</LI></UL><PRE> NSArray *itemArray = [NSArray arrayWithObjects: @"One", @"Two", @"Three", nil];</PRE>
<UL sizset="6" sizcache0046004852786545536="1">
<LI>Create An Instance of UISegmentedControl:</LI></UL><PRE> UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:itemArray];</PRE>
<UL sizset="7" sizcache0046004852786545536="1">
<LI>Customize the Control By Setting It’s Properties:</LI></UL><PRE> segmentedControl.frame = CGRectMake(35, 200, 250, 50);
segmentedControl.segmentedControlStyle = UISegmentedControlStylePlain;
segmentedControl.selectedSegmentIndex = 1;</PRE>
<UL sizset="8" sizcache0046004852786545536="1">
<LI>Set A Target and Action (The Code That Will Execute When The User Selects A New Segment):</LI></UL><PRE> [segmentedControl addTarget:self
action:@selector(pickOne:)
forControlEvents:UIControlEventValueChanged];</PRE>
<UL sizset="9" sizcache0046004852786545536="1">
<LI>Add the Segmented Control to the view:</LI></UL><PRE> [self.view addSubview:segmentedControl];
[segmentedControl release];</PRE>
<UL sizset="10" sizcache0046004852786545536="1">
<LI>Implement the Action:</LI></UL><PRE>- (void) pickOne:(id)sender{
UISegmentedControl *segmentedControl = (UISegmentedControl *)sender;
label.text = [segmentedControl titleForSegmentAtIndex: [segmentedControl selectedSegmentIndex]];
}</PRE>
<UL sizset="11" sizcache0046004852786545536="1">
<LI>Release the UILabel in dealloc:</LI></UL><PRE>-(void)dealloc{
[label release];
[super dealloc];
}</PRE>
<H3>Here Is the Complete Code For the UIViewController:</H3><PRE>#import "UseSegmentedControlViewController.h"
@implementation UseSegmentedControlViewController
UILabel *label;
- (void)viewDidLoad {
[super viewDidLoad];
//Create label
label = [[UILabel alloc] init];
label.frame = CGRectMake(10, 10, 300, 40);
label.textAlignment = UITextAlignmentCenter;
[self.view addSubview:label];
//Create the segmented control
NSArray *itemArray = [NSArray arrayWithObjects: @"One", @"Two", @"Three", nil];
UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:itemArray];
segmentedControl.frame = CGRectMake(35, 200, 250, 50);
segmentedControl.segmentedControlStyle = UISegmentedControlStylePlain;
segmentedControl.selectedSegmentIndex = 1;
[segmentedControl addTarget:self
action:@selector(pickOne:)
forControlEvents:UIControlEventValueChanged];
[self.view addSubview:segmentedControl];
[segmentedControl release];
}
//Action method executes when user touches the button
- (void) pickOne:(id)sender{
UISegmentedControl *segmentedControl = (UISegmentedControl *)sender;
label.text = [segmentedControl titleForSegmentAtIndex: [segmentedControl selectedSegmentIndex]];
}
- (void)dealloc {
[label release];
[super dealloc];
}
@end</PRE>
<H3>Be Sure To Check Out the Header Files In XCode To See All Your Options</H3>
<P>You can change the look and feel of the UISegmentedControl by altering the background color. You can use your own images and add/remove segments on the fly.</P>
<H3>What Could You Use UISegmented For In Your App?</H3>
<P>Let me know in the comments below. Be sure to link to your apps on iTunes if you have them up yet!</P></DIV><p><strong><a href="http://blog1.phps.kr/438?commentInput=true#entry438WriteComment">댓글 쓰기</a></strong></p>
addSubView, animation , xcode, 뷰간 이동
java, tomcat, c#
http://blog1.phps.kr/437
2012-01-04T17:32:52+09:00
2012-01-04T17:32:43+09:00
<SPAN class=pun>[</SPAN><SPAN class=typ>UIView</SPAN><SPAN class=pln> transitionWithView</SPAN><SPAN class=pun>:</SPAN><SPAN class=pln>containerView duration</SPAN><SPAN class=pun>:</SPAN><SPAN class=lit>0.5</SPAN><SPAN class=pln> <BR> options</SPAN><SPAN class=pun>:</SPAN><SPAN class=typ>UIViewAnimationOptionTransitionCurlUp</SPAN><SPAN class=pln> </SPAN><SPAN class=com>//change to whatever animation you like</SPAN><SPAN class=pln> <BR> animations</SPAN><SPAN class=pun>:^</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>{</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>[</SPAN><SPAN class=pln>containerView addSubview</SPAN><SPAN class=pun>:</SPAN><SPAN class=pln>subview</SPAN><SPAN class=pun>];</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>}</SPAN><SPAN class=pln> <BR> completion</SPAN><SPAN class=pun>:</SPAN><SPAN class=kwd>nil</SPAN><SPAN class=pun>];</SPAN><SPAN class=pln> <BR>뷰이동<BR>애니메이션,에니메이션</SPAN><p><strong><a href="http://blog1.phps.kr/437?commentInput=true#entry437WriteComment">댓글 쓰기</a></strong></p>
UIWebView 자동 넓이 변경
java, tomcat, c#
http://blog1.phps.kr/434
2011-12-20T17:52:20+09:00
2011-12-20T17:52:16+09:00
<SPAN class=typ><FONT color=#2b91af><BR>UIWebView를 사용하다보면 view 안에서 좌우 넓이를 자동으로 변경해야 될 경우가 생긴다 <BR><BR>다음과 같이 사용하면 된다.<BR><BR><FONT color=#000000><SPAN class=pln>webview</SPAN><SPAN class=pun>.</SPAN><SPAN class=pln>autoresizingMask </SPAN><SPAN class=pun>=</SPAN><SPAN class=pln> </SPAN></FONT><SPAN class=typ><FONT color=#2b91af>UIViewAutoresizingFlexibleWidth</FONT></SPAN><FONT color=#000000><SPAN class=pln> </SPAN><SPAN class=pun>|</SPAN><SPAN class=pln> </SPAN></FONT><SPAN class=typ><FONT color=#2b91af>UIViewAutoresizingFlexibleHeight<BR></FONT></SPAN><BR>self.view = webview<BR></FONT></SPAN><p><strong><a href="http://blog1.phps.kr/434?commentInput=true#entry434WriteComment">댓글 쓰기</a></strong></p>
[UITableView] 테이블 셀(UITableViewCell) 선택시 배경색 변경하기
java, tomcat, c#
http://blog1.phps.kr/433
2011-12-12T12:04:32+09:00
2011-12-12T12:04:29+09:00
[cell setSelectionStyle:UITableViewCellSelectionStyleBlue]; // 파란색<BR>[cell setSelectionStyle:UITableViewCellSelectionStyleGray]; // 회색<BR>[cell setSelectionStyle:UITableViewCellSelectionStyleNone]; // 없음<BR><BR><BR><FONT style="BACKGROUND-COLOR: #ffffff"><FONT color=#ff0000><STRONG><INS>UITableViewCell에서는 Highlighted상태일 때 setHighlighted:animation: 메소드가 호출된다.</INS><BR></STRONG></FONT></FONT><BR><BR>//- (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath<BR><STRONG>- (void)configureCell:(CustomTableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath<BR></STRONG>{<BR> NSManagedObject *managedObject = [self.fetchedResultsController objectAtIndexPath:indexPath];<BR> cell.textLabel.text = [[managedObject valueForKey:@"timeStamp"] description];<BR>}<BR><BR>// Customize the appearance of table view cells.<BR>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath<BR>{<BR> static NSString *CellIdentifier = @"Cell";<BR> <BR> /* 기존 코드<BR> UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];<BR> if (cell == nil) {<BR> cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];<BR> }<BR> */<BR> <BR> <BR><STRONG> CustomTableViewCell *cell = (CustomTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];<BR> if (cell == nil) {<BR> cell = [[[CustomTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];<BR> [cell setSelectionStyle:UITableViewCellSelectionStyleNone];<BR> }</STRONG>
<P style="MARGIN: 0px"> // Configure the cell.<BR> [self configureCell:cell atIndexPath:indexPath];<BR> return (UITableViewCell *)cell;<BR>}</P><p><strong><a href="http://blog1.phps.kr/433?commentInput=true#entry433WriteComment">댓글 쓰기</a></strong></p>
UIImage
java, tomcat, c#
http://blog1.phps.kr/432
2011-12-09T11:06:47+09:00
2011-12-09T11:06:44+09:00
<SPAN class=typ>UIImage</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>*</SPAN><SPAN class=pln>icon </SPAN><SPAN class=pun>=</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>[</SPAN><SPAN class=typ>UIImage</SPAN><SPAN class=pln> imageNamed</SPAN><SPAN class=pun>:@</SPAN><SPAN class=str>"image.png"</SPAN><SPAN class=pun>];</SPAN><SPAN class=pln> <BR></SPAN><SPAN class=typ>UIImageView</SPAN><SPAN class=pln> </SPAN><SPAN class=pun>*</SPAN><SPAN class=pln>imageView </SPAN><SPAN class=pun>*[</SPAN><SPAN class=typ>UIImageView</SPAN><SPAN class=pln> alloc</SPAN><SPAN class=pun>]</SPAN><SPAN class=pln> initWithImage</SPAN><SPAN class=pun>:</SPAN><SPAN class=pln>icon</SPAN><SPAN class=pun>];</SPAN><SPAN class=pln> <BR>imageView</SPAN><SPAN class=pun>.</SPAN><SPAN class=pln>frame </SPAN><SPAN class=pun>=</SPAN><SPAN class=pln> </SPAN><SPAN class=typ>CGRectMake</SPAN><SPAN class=pun>(</SPAN><SPAN class=lit>5</SPAN><SPAN class=pun>,</SPAN><SPAN class=lit>5</SPAN><SPAN class=pun>,</SPAN><SPAN class=lit>15</SPAN><SPAN class=pun>,</SPAN><SPAN class=lit>15</SPAN><SPAN class=pun>);</SPAN><p><strong><a href="http://blog1.phps.kr/432?commentInput=true#entry432WriteComment">댓글 쓰기</a></strong></p>