A control method for an image forming apparatus that includes a display, a first control unit configured to control a native program of the image forming apparatus, and a second control unit configured to control an extension application that is different from the native program, the control method comprising:
- rendering, in a first memory area, an operation screen of the native program controlled by the first control unit;
- rendering, in a second memory area, an operation screen of the extension application controlled by the second control unit;
- outputting at least a part of the operation screen of the native program to the display when an event related to outputting of the operation screen of the native program has occurred;
- and
- upon accepting a user operation via an operation screen, notifying the first control unit or the second control unit of operation information based on the operation screen being output,
- wherein upon accepting the user operation, the operation information is notified to the first control unit when the operation screen of the native program is being output,
- the operation information is notified to the first control unit when the operation screen of the extension application is being output and the user operation has been performed on a part of the operation screen of the native program that has been set in, and
- the operation information is notified to the second control unit when the operation screen of the extension application is being output and the user operation has been performed on a part other than the part of the operation screen of the native program that has been set in.