App crash only on iPhone Device and not in Simulator

后端 未结 5 1624
予麋鹿
予麋鹿 2020-12-11 12:21

In my app, when I press a button the method called for that button first assigns my textfield texts directly to NSArray object like:

 val = [[NS         


        
5条回答
  •  無奈伤痛
    2020-12-11 13:05

    it may be a case of memory managemnet...have you released all the objects after their use?

    simulator has the memory space of whole of the machine...but iphone has a defined memory of a sandbox for a single app.

提交回复
热议问题