You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after I upgraded from 6866d4d to ff72143, my app started crashing. I discovered that it is due to me setting attributedTitle of the startDownloadButton to nil, and this code thus initializing an NSAttributedString with a nil string.
I think the solution is quite easy - in [PKDownloadButton updateButton:title:], check if the passed title is nil. If yes, initialize attrTitle itself as nil.
The text was updated successfully, but these errors were encountered:
Hi,
after I upgraded from 6866d4d to ff72143, my app started crashing. I discovered that it is due to me setting attributedTitle of the startDownloadButton to
nil
, and this code thus initializing anNSAttributedString
with anil
string.I think the solution is quite easy - in
[PKDownloadButton updateButton:title:]
, check if the passedtitle
isnil
. If yes, initializeattrTitle
itself asnil
.The text was updated successfully, but these errors were encountered: