Why would a UIDatePicker with no functionality, added to my app via IB, cause my app to crash?

Posted by BeachRunnerJoe on Stack Overflow See other posts from Stack Overflow or by BeachRunnerJoe
Published on 2010-05-19T19:44:32Z Indexed on 2010/05/19 20:10 UTC
Read the original article Hit count: 341

Filed under:
|
|
|

I just added a UIDatePicker to my iPad app using IB, linked it to its outlet in the code, saved it in IB, added the UIPickerViewDelegate to my UIViewController in the code, as well as added the UIDatePicker outlet in code. When I build and run, the app launches, but will crash intermittently when I attempt to open the popover view that contains the datepicker. I say intermittently because the popover view will occasionally open successfully, but never more than once (it always crashes the second time you open the popover, if it doesn't crash the first time). Also, in the console, I get the following messsage

objc[594]: FREED(id): message lastClickRow sent to freed object=0x6015a70
  1. Why is this happening and how can I fix it?
  2. What does that console message indicate?

It may be worth mentioning that the popover view also contains a table view along with the datepicker control.

Thanks so much in advance for your help!

© Stack Overflow or respective owner

Related posts about ipad

Related posts about iphone