如果是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
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a shopCartDemo with animation
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published