如果是UICollectionView,要获取cell中view相对屏幕的frame的方法为: // imageView为目标view,cell的subView; cell为UICollectionViewCell; CGRect imageVRect = [cell convertRect:imageView.frame toView:cell]; CGRect realRect = [cell convertRect:imageVRect toView:self.view];
-
Notifications
You must be signed in to change notification settings - Fork 30
wangluhui/shopCartDemo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|