-1
This is the crash log我每次點擊按鈕是模擬器的,我不斷收到錯誤EXC_BAD_ACCESS的一部分。此代碼是JTAppleCalendar日曆的一部分。線程1:EXC_BAD_ACCESS(代碼= 2,地址= 0x010db93e38)
import UIKit
import JTAppleCalendar
class EventsViewController: UIViewController {
@IBOutlet weak var calendarView: JTAppleCalendarView!
let formatter = DateFormatter()
override func viewDidLoad() {
super.viewDidLoad()
setupCalendarView()
}
func setupCalendarView(){
calendarView.minimumLineSpacing = 0
calendarView.minimumInteritemSpacing = 0
}
// Do any additional setup after loading the view.
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
日誌中是否有錯誤消息? – Larme
self =(CCAID.EventsViewController)\t 0x00007f91c6c43250 –
有1.沒有問題,2.沒有有用的信息(即實際的崩潰消息)。 @PraneethKandula沒有,從控制檯 – Connor