That goes against the tech giant's App Store Review Guidelines, which (as a spokesperson explained to TechCrunch) 'require that apps request explicit user consent and provide a clear visual indication when recording, logging, or otherwise making a record of user activity.' See, most of the applications that use the tool don't ask for permission to record your activities and your screen. Now, Apple has started telling developers to remove that screen-recording code if they don't want their apps yanked from the App Store.
A recent report by TechCrunch and The App Analyst revealed that some major companies use an analytics tool that secretly record every swipe and tap you make within their applications.