A wireless communications method by a terminal device, comprising: determining, by the terminal device according to a number of bits of to-be-transmitted uplink control information, UCI, and a spreading factor of a first physical uplink control channel, PUCCH, format, a number of physical resource blocks, PRBs, for transmitting the to-be-transmitted UCI, wherein the determining, by a terminal device according to a number of bits of to-be-transmitted UCI and a spreading factor of a first PUCCH format, a number of PRBs for transmitting the to-be-transmitted UCI comprises: determining, by the terminal device according to a number of bits of the to-be-transmitted UCI, the spreading factor of the first PUCCH format, and a first parameter, the number of PRBs for transmitting the to-be-transmitted UCI, wherein the first parameter comprises at least one of a number of subcarriers for the first PUCCH format to transmit UCI in one resource block, RB, a number of time domain symbols for the first PUCCH format to transmit UCI, a modulation order, a maximum code rate corresponding to the first PUCCH format, and a maximum number of PRBs that corresponds to the first PUCCH format, wherein the number M RB,min PUCCH of PRBs for transmitting the to-be-transmitted UCI satisfies: O UCI + O CRC ≤ M RB,min PUCCH ⋅ N sc,ctrl RB ⋅ N symb PUCCH ⋅ Q m ⋅ r, and when the maximum number of PRBs that corresponds to the first PUCCH format is greater than 1, ( O UCI + O CRC) > M RB, min PUCCH − 1 ⋅ N sc, ctrl RB ⋅ N symb PUCCH ⋅ Q m ⋅ r, wherein O UCI represents a number of bits of the UCI, O CRC represents a number of bits of a CRC, N sc,ctrl RB represents a number of subcarriers for the first PUCCH format to transmit UCI in one RB divided by N SF PUCCH, N SF PUCCH represents the spreading factor of the first PUCCH format, N symb PUCCH represents a number of time domain symbols for the first PUCCH format to transmit UCI, Q m represents the modulation order, and r represents the maximum code rate corresponding to the first PUCCH format. determining, by the terminal device according to a number of bits of to-be-transmitted uplink control information, UCI, and a spreading factor of a first physical uplink control channel, PUCCH, format, a number of physical resource blocks, PRBs, for transmitting the to-be-transmitted UCI, wherein the determining, by a terminal device according to a number of bits of to-be-transmitted UCI and a spreading factor of a first PUCCH format, a number of PRBs for transmitting the to-be-transmitted UCI comprises: determining, by the terminal device according to a number of bits of the to-be-transmitted UCI, the spreading factor of the first PUCCH format, and a first parameter, the number of PRBs for transmitting the to-be-transmitted UCI, wherein the first parameter comprises at least one of a number of subcarriers for the first PUCCH format to transmit UCI in one resource block, RB, a number of time domain symbols for the first PUCCH format to transmit UCI, a modulation order, a maximum code rate corresponding to the first PUCCH format, and a maximum number of PRBs that corresponds to the first PUCCH format, wherein the number M RB,min PUCCH of PRBs for transmitting the to-be-transmitted UCI satisfies: O UCI + O CRC ≤ M RB,min PUCCH ⋅ N sc,ctrl RB ⋅ N symb PUCCH ⋅ Q m ⋅ r, and when the maximum number of PRBs that corresponds to the first PUCCH format is greater than 1, ( O UCI + O CRC) > M RB, min PUCCH − 1 ⋅ N sc, ctrl RB ⋅ N symb PUCCH ⋅ Q m ⋅ r, wherein O UCI represents a number of bits of the UCI, O CRC represents a number of bits of a CRC, N sc,ctrl RB represents a number of subcarriers for the first PUCCH format to transmit UCI in one RB divided by N SF PUCCH, N SF PUCCH represents the spreading factor of the first PUCCH format, N symb PUCCH represents a number of time domain symbols for the first PUCCH format to transmit UCI, Q m represents the modulation order, and r represents the maximum code rate corresponding to the first PUCCH format.