How to take a screenshot with widgets?

void UCLASSNAME::CUSTOMRequestScreesnhot(FString FileNameSC, bool UIRedered, bool FNSUffix)
{
FScreenshotRequest Screenshot;
Screenshot.RequestScreenshot(FileNameSC, UIRedered, FNSUffix);
}
use the blueprint to get screenshot in Android,IOS,Windows
It would not capture the status bar in Android,IOS only the screen of ue4 game