iOS Code Snippet Show and record screen taps


Active Member
Licensed User
Whilst iOS has a nice built-in screen recorder it doesn't show screen taps. If you are using a local mac, an easy way (though a bit of a hack) to show the taps which are then recordable is:

Download from and then export from the zip: QtouchposeApplication.h and QtouchposeApplication.m.

Open your B4i app in Xcode and add the above two files to Xcode project.

Change main.m to
#import <UIKit/UIKit.h>

#import "iCore.h"
#import "QTouchposeApplication.h"

int main(int argc, char * argv[])
    @autoreleasepool {
        return UIApplicationMain(argc, argv, NSStringFromClass([QTouchposeApplication class]), NSStringFromClass([B4IAppDelegate class]));
and in QtouchposeApplication.m change:
_alwaysShowTouches = NO;


_alwaysShowTouches = YES;
Now run the app and the taps will be visible.