I'm re-writting an app under IOS6 with autolayout but have problems accessing the size of a subclass of UIView

```
@property (weak, nonatomic) IBOutlet MyView *myView1;

```

in 

```
- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    NSLog(@"myView1: %@",self.myView1);
}

```

The size of the UIView is fully defined in the StoryBoard but comes out as zero when I run the code. Is this todo with auto layout or is the subview simply not defined yet? Am I doing something basically wrong here?