|Viewfinder? The S220 doesn't have a viewfinder. Don't you mean the screen on the back?|
It's an electronic fault inside the camera, and if the pictures are affected too, it may even be a faulty sensor. It will have to go back to Nikon for service & repair, but if the warranty has expired it will be cheaper to simply replace the camera with one of similar specification.