GUI in unity or xcode

for a GUI 2d in a 3d game that will use RA (Augmented reality) , what is the best way to get more performance/optimization,

doing the GUI entire in unity or xcode, living the unity with only the gameplay ?

I’ve seen no problem using Unity’s GUI with AR