UWP solves this problem by acting as a translator for each device. Means you only have to write code once it'll adjust itself depending upon the device. Whether it's a phone , tablet , PC or Xbox they'll all share the same code. And if you want a device specific feature then you can label that part of the code.