crash:c++
*** Assertion failure in -[MBProgressHUD show:], /Users/zhongqihulian/Desktop/projectName/qihaoduobao/Pods/MBProgressHUD/MBProgressHUD.m:248app
2016-04-14 10:35:40.071 qihaoduobao[1106:259596] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'MBProgressHUD needs to be accessed on the main thread.'線程
*** First throw call stack:it
(0x1823e5900 0x181a53f80 0x1823e57d0 0x182d5899c 0x1002537c8 0x100252530 0x10017cb90 0x1000de1f8 0x1004d3e2c 0x100f45bf0 0x100f45bb0 0x100f54e10 0x100f544d8 0x18204d470 0x18204d020)io
libc++abi.dylib: terminating with uncaught exception of type NSExceptionthread
問題: sed
MBProgressHUD needs to be accessed on the main thread exception
MBProgressHUD 要在主線程裏訪問方法
問題鎖定:call
MBProgressHUD 的方法不要寫在分線程中