About Orientation

如果想让一个UIVIew始终都在屏幕中心,

可以设置它的Y为 ceilf((self.view.bounds.size.height - Height)/2),

 同时设置autoresizingMask = UIViewAutoresizingFlexibleTopMargin|UIViewAutoresizingFlexibleBottomMargin 即可。


http://tech.techweb.com.cn/viewthread.php?tid=558331  UIView中bounds和frame的差别?


- (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation{ [my_table reloadData]; }

uitableviewcell orientation

http://www.google.com.hk/search?hl=zh-TW&newwindow=1&safe=strict&tbo=d&spell=1&q=uitableviewcell+orientation&sa=X&ei=utQQUdPqHY2ZiQfry4GoCA&ved=0CC0QvwUoAA

http://stackoverflow.com/questions/5664890/reloaddata-in-a-uitableview-when-deviceorientation-change 

reloadData in a UITableView when deviceOrientation change

http://stackoverflow.com/questions/2477277/rotate-a-custom-uitableviewcell

Rotate a custom UITableViewCell

http://stackoverflow.com/questions/2718207/change-uitableviewcell-height-on-orientation-change

Change UITableViewCell Height on Orientation Change

http://lupingui.iteye.com/blog/869880 

iPhone 响应屏幕旋转


你可能感兴趣的:(About Orientation)