The cell object where the ios get button is located. Note: The difference between ios8 ios7 and ios8ios7
Ios7:
In ios7, the button. superview is the cell where the button is located.
NSLog (@ "2: cell ---- % @", button. superview );
10:23:55. 583 NeiHanShe [1407: 60b] 2: cell ---- <RadioCell: 0x155849d0; baseClass = UITableViewCell; frame = (0 0; 320 70); autoresize = W; layer = <CALayer: 0x1552af80>
In ios7, button. superview. superview is not a cell object.
NSLog (@ "2: cell ---- % @", button. superview. superview );
10:22:37. 993 NeiHanShe [1396: 60b] 2: cell ---- <UITableViewCellScrollView: 0x17d2d2e0; frame = (0 0; 320 70); autoresize = W + H; records = <NSArray: 0x17d2d200>; layer = <CALayer:
Ios8:
In ios8, the button. superview obtains the UITableViewWrapperView object. Therefore, if you click different cells but the obtained memory is equal, a problem occurs.
NSLog (@ "2: cell ---- % @", button. superview
10:27:07. 903 NeiHanShe [2791: 1186272] 2: cell ---- <UITableViewWrapperView:0x1663bbf0; Frame = (0 0; 320 528); gestureRecognizers = <NSArray: 0x1663bb10>; layer = <CALayer: 0x1663bbc0>; contentOffset: {0, 0}; contentSize: {320,528}>
10:27:09. 617 NeiHanShe [2791: 1186272] 2: cell ---- <UITableViewWrapperView:0x1663bbf0; Frame = (0 0; 320 528); gestureRecognizers = <NSArray: 0x1663bb10>; layer = <CALayer: 0x1663bbc0>; contentOffset: {0, 0}; contentSize: {320,528}>
In ios8, the button. superview. superview is the cell where the get button is located.
NSLog (@ "2: cell ---- % @", button. superview. superview );
10:20:50. 813 NeiHanShe [2775: 1184682] 2: cell ---- <RadioCell:0x16ed6a30; BaseClass = UITableViewCell; frame = (0 0; 320 70); autoresize = W; layer = <CALayer: 0x16ea5fc0>
10:20:52. 321 NeiHanShe [2775: 1184682] 2: cell ---- <RadioCell:0x16ed6b44; BaseClass = UITableViewCell; frame = (0 0; 320 70); autoresize = W; layer = <CALayer: 0x16ea5fc0>
IOS7 and iOS8, from Apple's new iOS 7 12, we can see that Apple's focus is no longer on iOS 7, iO
IPhone 4 has been around for four years.
What is the difference between the image on the Ios8 system interface and ios7?
Some built-in software is added.