I don't know how get the width and heigh of the screen of target device, is there some api in the SDK, if there is , who can give me some help, thanks.
I don't know how get the width and heigh of the screen of target device, is there some api in the SDK, if there is , who can give me some help, thanks.
The traditional ...AppUi::ApplicationRect (check any HelloWorld example, although they use ClientRect) will tell it to you, but you can also check CGraphicsDevice::SizeInPixels.