Problem dealloc'ing memory used by UIImageViews with fairly large image in an UIScrollView

前端 未结 7 1923
遥遥无期
遥遥无期 2020-12-03 03:58

I have a large UIScrollView into which I\'m placing 3-4 rather large (320x1500 pixels or so) UIImageView image tiles. I\'m adding these UIImageViews to the scroll view insi

7条回答
  •  鱼传尺愫
    2020-12-03 04:25

    - (void)dealloc {
        NSLog(@"DAY Controller Dealloc'd");
        [self.scrollView release];
        [super dealloc];
    }
    

    give that a shot, your @property() definition is requesting it to be retained, but you weren't explicitly releasing the object

提交回复
热议问题