The shooting happened on Monday 9 May.
Paul Francis Magee, of Knutsford Drive in Belfast, appeared at Belfast Magistrates Court on Saturday morning.
He is accused of attempted murder and possession of a firearm or imitation firearm with intent to commit attempted murder.
A detective told the court that the victim identified Mr Magee from his hospital bed just before going into surgery.
The detective also said that Mr Magee refused to answer the questions put to him.
The gun used in the attack has not been found.
A 51-year-old man has been remanded in custody in connection with a paramilitary-style shooting in north Belfast.