Until now, if you want to record your iPhone’s screen, you had to either rely on jailbreak tweaks such as DisplayRecorder or mirror Mac apps such as Reflector that trick the iPhone into thinking that your Mac is an Apple TV/AirPlay ready device.

A new app called xRec has just hit the App Store that allows you to record your iPhone’s screen directly on the device.

Here’s how the app works:

1) Open Screen Recorder HD

2) Tap Settings and set the orientation according to what you will record

3) Tap Record and tap Start button

4) Press Home button and open anything you want

5) After finishing your work, open Screen Recorder and tap Stop button

6) Wait for encoding, then tap Videos

7) You will see your video there. Tap blue indicator on video and save it to Camera roll. That’s all.

You can check out the demo video of the app, which shows the app can be used in both landscape and portrait mode:

http://youtu.be/2elcrXkjbY0

There is one drawback when you compare it jailbreak apps like DisplayRecorder and mirror apps like Reflector, the recorded videos come with the red bar with xRec just below the status bar (the one you see while using VoIP apps or while recording in GarageBand), which takes up precious screen real estate and may make it a deal-breaker for some users.

It works quite similar to free and open source screen recorder for iOS called RecordMyScreen.

If you’ve a jailbroken iPhone then we still recommend buying DisplayRecorder from Cydia. However, if you have not jailbroken your iPhone and don’t want to spend $12.99 on Reflector, then checkout xRec. It is available in the App Store for $1.99 [direct iTunes link].

Download it as soon as possible as we’re not sure if Apple has changed its policy towards such apps, or if it slipped through app review process as Display Recorder was also briefly available in the App Store before it was removed.