天天看點

Xcode工程出現Block implicitly retains 'self'; explicitly mention 'self' to indicate this...警告

在做短視訊和直播資料請求時出現:Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior Insert 'self->'

Xcode工程出現Block implicitly retains 'self'; explicitly mention 'self' to indicate this...警告

解決方法:

Building Settings ->搜尋implicit retain of 'self'

将對應的值改為NO

Xcode工程出現Block implicitly retains 'self'; explicitly mention 'self' to indicate this...警告