Skip to content

App Crashes on registerIconFontWithURL: in iOS 10 #97

@vincilbishop

Description

@vincilbishop

FAKIcon.m:16: registerIconFontWithURL: CGFontRef newFont = CGFontCreateWithDataProvider(fontDataProvider);
Crashes with little explanation. Was working fine in 9.3.2, but after upgrading to iOS 10, both older versions, and the new 2.2.0 crash on this line. The code seems to have been unchanged.

For some reason, I was able to follow the instructions in this SO post:

http://stackoverflow.com/questions/24900979/cgfontcreatewithdataprovider-hangs-in-airplane-mode

and call [UIFont familyNames]; before the registerIconFontWithURL: method was called, and the problem was solved. Weird.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions