Код: Выделить всё
IF current_device == iPhone THEN
DISPLAY iPhoneView
ELSE IF current_device == iPad THEN
DISPLAY iPadView
Подробнее здесь: https://stackoverflow.com/questions/658 ... ce-swiftui
Код: Выделить всё
IF current_device == iPhone THEN
DISPLAY iPhoneView
ELSE IF current_device == iPad THEN
DISPLAY iPadView