2011-05-16 69 views

回答

0

看到這個例子....而實現這個..

UIImageView *imgViewCell = [[UIImageView alloc] initWithFrame:CGRectMake(0.0f, 46.0f, 320.0f, 116.0f)]; 
NSString *path = [[NSBundle mainBundle] pathForResource:@"detail_bg" ofType:@"png"]; 
UIImage *img = [[UIImage alloc] initWithContentsOfFile:path]; 
[imgViewCell setImage:img]; 
[ScroollView addSubview:imgViewCell]; 
[img release]; 
+0

thanku代碼 – user755212 2011-05-16 08:42:34

+0

請注意您接受此代碼? – Deepesh 2011-05-16 13:09:11

+0

hi deepesh我是圖像視圖中的drawig如果我把滾動視圖我無法畫出你對此的任何想法請做需要的幫助 – user755212 2011-05-17 04:53:14

1

請從here下載示例代碼

這一定會幫助你。

+0

thanku .............. – user755212 2011-05-16 08:42:41

+0

DNG這個過程之後我無法對圖像視圖寫如何解決這個問題我需要在圖像視圖中使用鼠標編寫一些文本並且需要滾動我有更多的文字需要幫助 – user755212 2011-05-16 08:59:37