Skip to content

Commit eb99967

Browse files
committed
fixed warning about downcast
1 parent 7cdbe7d commit eb99967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

YouTubePlayer/YouTubePlayer/VideoPlayerView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public class YouTubePlayerView: UIView, UIWebViewDelegate {
220220
println("Lookup error: no HTML file found for path, \(path)")
221221
}
222222

223-
return htmlString! as! String
223+
return htmlString! as? String
224224
}
225225

226226

0 commit comments

Comments
 (0)