I want to add a footer view to my gouped table view for now i have this:
NSLog(@"width:%f",self.view.frame.size.width);
UILabel *lblInfo = [[UILabel alloc] initWithFrame:CGRectMake(50, 30,self.view.frame.size.width - 100, 70)];
lblInfo.text = @"Hellow";
[footerView addSubview:lblInfo];
[lblInfo release];
which give me this result: http://img256.imageshack.us/i/schermafbeelding2010102t.png/ This is landscape and self.view is an pushed subview of the detailview of my splitcontrol. The nslog of the first: ->width: 703
If i turn (to portrait) it i get this result:http://img821.imageshack.us/i/schermafbeelding2010102.png/ The nslog of the second: -> width: 768
normally the two footer views should have a left & right margin of 50px...
What am i overseeing?