Method for processing operating object and electronic device

The invention discloses a method for processing an operating object, wherein the method is applied to an electronic device. When an induction unit detects that an operating body holds the electronic device, a first holding position parameter of an input unit, corresponding to the electronic device, of the operating body is obtained; the corresponding relation between the operating object and the input unit is determined according to the first holding position parameter; the operating object is output through a display unit based on the corresponding relation. The invention further provides the electronic device. The electronic device comprises a data processing chip, when the induction unit detects that the operating body holds the electronic device, the data processing chip is used for obtaining the first holding position parameter of the input unit, corresponding to the electronic device, of the operating body, the corresponding relation between the operating object and the input unit is determined according to the first holding position parameter, and the operating object is output through the display unit based on the corresponding relation.