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
Have anyone encountered 'undefined' error?
It works fine in simulator, but on device I get 'undefined'
Please help, I'm trying to debug in the meantime: latest suspicion is JavaScriptCore on iOS 16 is incpompatible with highlightr.js code
if let highlightr =Highlightr(){
highlightr.setTheme(to:"dark")letcode="import UIKit"
// You can omit the second parameter to use automatic language detection.
lethighlightedCode= highlightr.highlight(code)self.textView.attributedText = highlightedCode
}
The text was updated successfully, but these errors were encountered:
Have anyone encountered 'undefined' error?
It works fine in simulator, but on device I get 'undefined'
Please help, I'm trying to debug in the meantime: latest suspicion is JavaScriptCore on iOS 16 is incpompatible with highlightr.js code
The text was updated successfully, but these errors were encountered: