Proper way of saving and loading pictures

前端 未结 3 1471
说谎
说谎 2021-02-04 13:41

I am making a small app where the user can create a game profile, input some data and a picture that can be taken with the camera.

I save most of that profile data with

3条回答
  •  抹茶落季
    2021-02-04 14:27

    I think this("iphone-user-defaults-and-uiimages") post addresses your issue. Don't save blobs to a property list such as NSUserDefaults. In your case I would write to disk directly instead.

提交回复
热议问题