uiimagepickerview controller creating memory leaks in iphone - why?

前端 未结 4 720
小鲜肉
小鲜肉 2021-01-07 11:18

uiimagepickerview controller creating memory leaks in iphone - why?

Try to implement ui image picker view controller in your application & debug it. You will fin

4条回答
  •  执笔经年
    2021-01-07 11:42

    UIImagePickerController loads and initializes PhotoLibrary.framework the first time it is shown. This memory won't be reclaimed until your application is closed.

    (the code you posted doesn't appear to have leaks as-is, but that doesn't mean it won't interact with the rest of your application in a way that causes them)

提交回复
热议问题