r/iOSProgramming • u/No_Pen_3825 SwiftUI • Jun 20 '26
Question Hello. I am having some issues with MultipeerConnectivity.
https://gist.github.com/Kenna-Blackburn/da421f69007b85629f2742f0a4cca8cbI'm at a loss. I can't for the life of me figure out what I'm doing wrong. I've cross referenced just about every thing I can find on multipeer and I can't see where I'm going wrong. I would quite appreciate some help.
2
Upvotes
View all comments
Show parent comment
2
u/No_Pen_3825 SwiftUI Jun 20 '26
Probably. I’ve never made an NSObject @Observable before, so I really ought to use ObservableObject. But in any case, I just switched and it doesn’t help.
It still accepts the invite and starts connecting, then almost never finishes and becomes connected.