A total of 89 viewers complained about the plot, which saw Todd Grimshaw come to the realisation that he was attracted to men while living with his pregnant fiancee Sarah Platt.
According to Ofcom, people had concerns about a number of issues including the timing of Todd's first homosexual kiss with workmate Karl, which was screened over Easter, and the fact that the show is screened at a time when children are watching.
Ofcom cleared ITV of any breach. In its ruling, Ofcom said that it understood some people did not approve of any representation of homosexual behaviour while children are watching.
"However, we have to consider whether these relationships are portrayed in an appropriate manner, as with any sexual behaviour, before the 9pm watershed. The Programme Code does not distinguish between the sexual orientation of characters, but requires sexual behaviour to be appropriately limited and inexplicit before the watershed.
"Given the storyline and the inexplicit portrayal of this relationship, we consider that these scenes were acceptable," the regulator said in its ruling.
Separately, Ofcom has upheld six complaints against the BBC's Saturday night drama 'Jonathan Creek', after Alan Davies' character Adam Klaus said "fuck". Viewers were upset because they did not expect to hear strong language in the show and there was no warning before it was broadcast.
Ofcom cleared 'Derren Brown: Seance', shown on Channel 4 on May 31, of any breach of the code after a total of 244 complaints, 170 of which were received before transmission.
If you have an opinion on this or any other issue raised on Brand Republic, join the debate in the Forum here.