2011-12-15 491 views

回答

3

可以按如下方式,在此處添加圖片是一個例子:

 UIImageView *iv = [[UIImageView alloc] initWithImage:aImage]; 
     CGRect frame = iv.frame; 
     frame.origin.x = x; 
     frame.origin.y = y; 
     iv.frame = frame; 
     [self addSubview:iv]; 
     [iv release]; 

希望這有助於

相關問題