iOS 11.1.2 Date bug crashing in the app

时间:2017-12-18 07:50:13

标签: ios swift

Recently I'm facing a crash in production on this line $html->load('<html><body><div id="banner_id">All the Besttttt!</div></body></html>');// Load HTML from a string $divdata= $html->find('div[id=banner_id]',0);// Find the element where the id is equal to a particular value

Crashed: com.apple.main-thread

EXC_BREAKPOINT 0x00000001024a89e4

I tried to replicate this issue in development in other version like 10.x and 11.0, 11.2.x, here its not crashing. But in crashlytics i'm constantly getting crash log of OS 11.1.2

I guess it may be due to iOS 11.1.2 Date Bug

want to get it fixed to avoid crashes to iOS 11.1.2 users.

Any help on this to get it fixed will be most appreciated.

1 个答案:

答案 0 :(得分:0)

当日期格式化程序没有根据您在代码中编写时出现此问题时请更改日期格式化程序