Technically you can magnetize two things to, "stick," together then apply another field that would cause them to fly apart. The field would be orthogonal to the pre-existing field.
As for a relatively thin piece of glass with a ferrous film attached, I don't know how practical that would be in terms of magnetic field strength and sticking together with a good deal of force. Glass is quite difficult to separate if there is a viscous film between them owning to air pressure. The force in the magnet is directly proportional to how many domains are aligned in the same direction, film doesn't have that many say relative to an audio speaker magnet.
Who know, it could be worked out, sounds like an Apple idea.
As for a relatively thin piece of glass with a ferrous film attached, I don't know how practical that would be in terms of magnetic field strength and sticking together with a good deal of force. Glass is quite difficult to separate if there is a viscous film between them owning to air pressure. The force in the magnet is directly proportional to how many domains are aligned in the same direction, film doesn't have that many say relative to an audio speaker magnet.
Who know, it could be worked out, sounds like an Apple idea.