
本文共 3832 字,大约阅读时间需要 12 分钟。
iOS������������
���iOS������������������������������������������������������������������������������������������������������0,0������������X���������������������������Y���������������������������iOS������CGPoint
������������������������������CGRectMake(x, y)
������������������CGSize
������������������������������������������������CGSizeMake(width, height)
���������������������
frame���bounds���center������������������
���iOS������������������frame
���bounds
���center
������������������������������������������������������������������������������
frame
������������������������������������������������������������������CGRect
���������������������������������������������������������������bounds
������������������������������������������������������������������������������CGRect
������������������������������������������������0,0������center
���������������������������������������������������������������CGPoint
���������
������������������������������������������frame
���bounds
���������������������������������������������frame
������������������������bounds
���������������������center
���������������������������������frame
���bounds
������������������������������������������
���������
-(CGRect) frame { return CGRectMake(self.frame.origin.x, self.frame.origin.y, self.frame.size.width, self.frame.size.height);}-(CGRect) bounds { return CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);}
������������������frame
������������������������������bounds
���������������������������������������������������������������������center
������������������������������������������������������������������������������������������������������
������������
���iOS������������������frame
���center
������������������������frame
���������������������������������������������������center
���������������������������������������������������������������������������������������������������center
���������������������������frame
���������������
bounds
������������������������������������������������������������������������������������������������������������������
UIScrollView������contentSize���contentInset���contentOffset
���UIScrollView
������contentSize
���contentInset
���contentOffset
���������������������������������������������
-
contentSize
������������������������������������������������contentSize
���������������������frame
���������������������������������������������������������frame
������0,0,320,480������UIScrollView
���������contentSize
������320,960������������������������������������960������������������������ -
contentOffset
������������������������������frame
���������������������������������������������������������UIScrollView
������contentOffset
������0,480���������������������������������������480��������� -
contentInset
���������UIScrollView
������������������������������������������������������contentInset
������0,100������������������������������ScrollView
������������������������100���������
������������������������������contentInsets
���������contentView
���������������contentOffset
������������������������������������������������contentInset
���contentOffset
������������������������������������������
UITableView���������������������
������UIScrollView
������������UITableView
������������������������������������������������������������������������������contentSize
���
(NSInteger) numberOfSections;
(NSInteger) numberOfRowsSectionsInSection:(NSInteger)section;
(CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
(CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section;
(CGFloat) tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section;
UITableView
���������������������������������������������������������contentSize
������������������������������������������������������������������������CELL���SECTION������������������
发表评论
最新留言
关于作者
