LONDON — The 10-floor viewing terrace of the Tate Modern art gallery in London has a 360-degree view of the city, including some of its most famous landmarks.

But since the museum’s 211-foot-tall wing known as the Blavatnik Building opened in 2016, another aspect of the view has become well known to visitors. Stroll around the enclosed walkway and, at one point, you’ll be staring into the private lives of residents of luxury apartments in a neighboring glass-and-steel building that was completed in 2012.

The owners of four apartments in the building, part of a development called NEO Bankside, are less enamored of the view, and so they sued in 2017. On Friday, a court began hearing their case against the gallery, in which they claimed a “relentless” invasion of privacy.

They are seeking an injunction that would require the gallery either to restrict access to parts of the terrace adjacent to their homes or to erect a screen.