udark / underdark-cocoa

Bluetooth peer-to-peer mesh networking for iOS
http://underdark.io
Other
123 stars 24 forks source link

While receiving large file the screen freezes #4

Closed paultnp closed 7 years ago

paultnp commented 7 years ago

When one device is receiving the file in the below delegate func transport(transport: UDTransport, link: UDLink, didReceiveFrame data: NSData) { }

The iPhone screen freezes and one can not move to any other screen. Is there any way that file could be received in background queue or in any other separate thread so that screen does not freeze

Thanks

virl commented 7 years ago

@paultnp Hello! Yes, you can specify the queue when calling configureTransport().

paultnp commented 7 years ago

Thanks @virl your suggestion worked