After 4.20, How to create a LAN connection on ios

hello!Please forgive me for being very poor in English. I don’t know how to make the online subsystem work properly in ios.I just used a simple create session, but it always returns a failure.It’s work on 4.19,I don’t know how 4.21 changed it.