Hi,
I dont understand how to change the zPosition of a view, i try this but nothing happens :
- (void)viewDidLoad {
[super viewDidLoad];
UIView *view = [[[UIView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)] autorelease];
view.backgroundColor = [UIColor blackColor];
view.layer.zPosition = -400;
[self.view addSubview:view];
}
In the CALayer doc it doesn't say anything should be done before using this property. Does anyone knows what i'm missing ?
Thanks, Vincent.