hi again .....
i have a little problem. When i'm running my app on xCode everything gonna be alright. But when i upload my app on my iphone some image doesn't appears....
for example this image works :
but when i do that that does'nt work :
and in TestView.h
any help?
i have a little problem. When i'm running my app on xCode everything gonna be alright. But when i upload my app on my iphone some image doesn't appears....
for example this image works :
Code:
est = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"im1.png"]];
est.layer.frame = CGRectMake(200, 150, 73, 120);
[self.view est];
but when i do that that does'nt work :
Code:
testView = [[TestView alloc] init];
[testView setController:self];
[self.view addSubview:testView];
and in TestView.h
Code:
- (id)init {
if (self = [super initWithFrame:CGRectMake(0, 0, 480, 320)]) {
testImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
[self addSubview:testImage];
}
return self;
}