开发者

for question about autorotation

my superview is UItabelview a开发者_C百科nd my subviews are UITabelview and UIDatePicker. for my subviews didn't able to call

  • (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration

why? bcoz this method calls when view rotates and at that time i want to set autoresizingmask method for that view so that when my subview rotates from Portrait to landscape mode it's view resizes automatically?


Make sure your subview responds to

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜