2011-05-16 68 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