Skip to content

Commit 8a5da47

Browse files
committed
1 parent 182d61e commit 8a5da47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Samples/iOS-Swift/iOS-Swift/NetworkTestingViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ class NetworkTestingViewController: UIViewController {
163163

164164
@objc private func testBinaryBody() {
165165
performTest(bodyType: 3, customBody: "// Sending 10KB of random binary data")
166-
requestBodyTextView.isEditable = false
167166
}
168167

169168
private func performTest(bodyType: Int, customBody: String? = nil) {
170169
requestUrlField.text = "https://httpbin.org/post"
171170
bodyTypeSegmentControl.selectedSegmentIndex = bodyType
171+
updateBodyTextViewForType(bodyType)
172172
if let body = customBody {
173173
requestBodyTextView.text = body
174174
}

0 commit comments

Comments
 (0)