[ActionSheetPicker respondsToSelector:]:发送到解除分配的实例的消息

时间:2014-05-26 11:30:52

标签: ios objective-c xcode actionsheetpicker

我有一个问题,iOS 7.0中的“ActionSheetPicker”工作正常,但7.1断了:

[ActionSheetPicker showPickerWithTitle: [Language get: @ "ChooseLocation" alter: @ ""]
                                               rows: actionSheetPickerCityList
                                   initialSelection: 0
                                             target: self
                                             action: @ selector (cityWasSelected: element :)
                                             origin: self.view];

我收到此错误:

*** - [ActionSheetPicker respondsToSelector:]: message sent to deallocated instance 0xd4e42c0

并且不明白为什么,让我发疯,因为在ios 6和7.0中工作正常。我所做的操作保存在一个数组(actionSheetPickerCityList)列表中,当我选择其中一个中断时。

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

在GitHub上似乎有一个问题:https://github.com/TimCinel/ActionSheetPicker/issues/100

由于 ActionSheetPicker 是GitHub组件,您应首先检查问题: - )

跳这个帮助