Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. let url = URL(string: "***.jpg")!
  2. let imageData = try? Data(contentsOf: url)
  3. let img = UIImage(data:imageData!)
  4. let imgView:UIImageView = UIImageView(image:img)
  5. imgView.frame = CGRect(x:0, y:0, width:300, height:300)
  6. self.view.addSubview(imgView);
  7.  
  8. 2017-01-24 16:50:51.273542 loadMovie2[2196:135371] [] nw_host_stats_add_src recv too small, received 24, expected 28
  9. 2017-01-24 16:50:51.276346 loadMovie2[2196:135371] [] ____nwlog_simulate_crash_inner_block_invoke dlopen CrashReporterSupport failed
  10. 2017-01-24 16:50:51.276600 loadMovie2[2196:135371] [] __nwlog_err_simulate_crash simulate crash failed "nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available"
  11. 2017-01-24 16:50:51.277360 loadMovie2[2196:135371] [] nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace:
  12. [x86_64] libnetcore-856.30.16
  13. 0 libsystem_network.dylib 0x000000010fc4b666 __nw_create_backtrace_string + 123
  14. 1 libnetwork.dylib 0x000000010ff29006 nw_socket_add_input_handler + 3164
  15. 2 libnetwork.dylib 0x000000010ff06555 nw_endpoint_flow_attach_protocols + 3768
  16. 3 libnetwork.dylib 0x000000010ff05572 nw_endpoint_flow_setup_socket + 563
  17. 4 libnetwork.dylib 0x000000010ff04298 -[NWConcrete_nw_endpoint_flow startWithHandler:] + 2612
  18. 5 libnetwork.dylib 0x000000010ff1fae1 nw_endpoint_handler_path_change + 1261
  19. 6 libnetwork.dylib 0x000000010ff1f510 nw_endpoint_handler_start + 570
  20. 7 libnetwork.dylib 0x000000010ff371f9 nw_endpoint_resolver_start_next_child + 2240
  21. 8 libdispatch.dylib 0x000000010f9c8978 _dispatch_call_block_and_release + 12
  22. 9 libdispatch.dylib 0x000000010f9f20cd _dispatch_client_callout + 8
  23. 10 libdispatch.dylib 0x000000010f9cfe17 _dispatch_queue_serial_drain + 236
  24. 11 libdispatch.dylib 0x000000010f9d0b4b _dispatch_queue_invoke + 1073
  25. 12 libdispatch.dylib 0x000000010f9d3385 _dispatch_root_queue_drain + 720
  26. 13 libdispatch.dylib 0x000000010f9d3059 _dispatch_worker_thread3 + 123
  27. 14 libsystem_pthread.dylib 0x000000010fd9b4de _pthread_wqthread + 1129
  28. 15 libsystem_pthread.dylib 0x000000010fd99341 start_wqthread + 13
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement