An electronic device comprising a metal frame and an antenna apparatus, wherein the antenna apparatus comprises: a first side metal frame and a bottom metal frame of the electronic device, a feeder, and a plurality of tuning switches, wherein the first side metal frame is provided with a fourth slot, and the bottom metal frame is provided with a fifth slot; a first ground point is arranged between the bottom metal frame and a second side metal frame of the metal frame; the feeder is connected to a fourth feed point, and the fourth feed point is arranged on the metal frame between the fourth slot and the fifth slot; the plurality of tuning switches comprise a fifth tuning switch and a sixth tuning switch, the fifth tuning switch is connected to the metal frame between the fourth slot and the fifth slot, and the sixth tuning switch is connected to the bottom metal frame; the fifth tuning switch is connected to a first side of the fourth feed point, the sixth tuning switch is connected to a second side of the fourth feed point, and the first side is closer to the first side metal frame than the second side; and the fifth tuning switch is configured to selectively switch between a disconnected state and a connected state in which the metal frame is connected to a second ground point (61, 63, 65) via a lumped device (L1, L2, L3), and the sixth tuning switch is configured to selectively switch between a disconnected state and a connected state in which the bottom metal frame is connected to a third ground point (61, 63, 65) via a lumped device (L1, L2, L3), characterized in that if the fifth tuning switch is in the disconnected state and the sixth tuning switch is in the connected state, the first side metal frame is excited to generate radiation outwards; and the fifth tuning switch is configured to adjust a radiation frequency band of the first side metal frame; and if the fifth tuning switch is in the connected state and the sixth tuning switch is in the disconnected state, the bottom metal frame is excited to generate radiation outwards; and the sixth tuning switch is configured to adjust a radiation frequency band of the bottom metal frame. the first side metal frame is provided with a fourth slot, and the bottom metal frame is provided with a fifth slot; a first ground point is arranged between the bottom metal frame and a second side metal frame of the metal frame; the feeder is connected to a fourth feed point, and the fourth feed point is arranged on the metal frame between the fourth slot and the fifth slot; the plurality of tuning switches comprise a fifth tuning switch and a sixth tuning switch, the fifth tuning switch is connected to the metal frame between the fourth slot and the fifth slot, and the sixth tuning switch is connected to the bottom metal frame; the fifth tuning switch is connected to a first side of the fourth feed point, the sixth tuning switch is connected to a second side of the fourth feed point, and the first side is closer to the first side metal frame than the second side; and the fifth tuning switch is configured to selectively switch between a disconnected state and a connected state in which the metal frame is connected to a second ground point (61, 63, 65) via a lumped device (L1, L2, L3), and the sixth tuning switch is configured to selectively switch between a disconnected state and a connected state in which the bottom metal frame is connected to a third ground point (61, 63, 65) via a lumped device (L1, L2, L3), characterized in that if the fifth tuning switch is in the disconnected state and the sixth tuning switch is in the connected state, the first side metal frame is excited to generate radiation outwards; and the fifth tuning switch is configured to adjust a radiation frequency band of the first side metal frame; and if the fifth tuning switch is in the connected state and the sixth tuning switch is in the disconnected state, the bottom metal frame is excited to generate radiation outwards; and the sixth tuning switch is configured to adjust a radiation frequency band of the bottom metal frame.