Skip to content

Commit

Permalink
Merge pull request #138 from kishikawakatsumi/fix-ios11
Browse files Browse the repository at this point in the history
Fix to crash in iOS 11 if binary built with base SDK iOS 10
  • Loading branch information
kishikawakatsumi committed Sep 10, 2017
2 parents bb2de94 + e5f7f77 commit e9b4c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Sources/SpreadsheetView+Layout.swift
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ extension SpreadsheetView {
#if swift(>=3.2)
contentInset = rootView.adjustedContentInset
#else
fatalError("unreachable code")
contentInset = rootView.value(forKey: "adjustedContentInset") as! UIEdgeInsets
#endif
} else {
contentInset = rootView.contentInset
Expand Down

0 comments on commit e9b4c4e

Please sign in to comment.