I agree that an individual may have a problem handling both a can of pepper spray and a gun at the same time, but most often hikers in the back country are in groups of at least two, in this case both should have pepper spray and a gun, or if they can't handle a gun, at least the spray.
The whole problem here is if you get into a face to face situation with a bear, then likely you have not take the propere action to deter bears in the first place. Most often a bear attack is provoked when the animal is startled. While walking through the woods in bear country it is a good idea to have a small bell attached to your pack to warn the bears that someone (something) is there, it is also wise to talk, sing, or make some kind of noise. Normally, a bear will flee if you do this, in most cases, a bear wants to avoid a human, as mush as you want to avoid them. The exception to this is a sow with cubs. Dealing with a sow and cub is like dealing with explosives, they may go off at any time for any reason, but it is just her survival instinct, and the motherly protective mode that sets her off. Given an excape route, they often leave.
At a remote Alaska site four of us were asleep in a tent, we were woke up by a noise, looking out we saw four bear destroying the lean to where out cook site was set up. (The first thing a backpackers should learn is never take food into their sleeping area, stow it in a tree, set up a cook site away from the sleep site,bury, or burn any thing that is to be thrown away) To make the situtation worst, all of the guns were locked in the truck, The only weapon was a big knife. We remained in the tent, started shouting and watched them as they ate everything they could, they then walked around our tent and left. I learned a very important lesson that night, afterwards I always took a .44 mag to bed with me. The point is, I think we avoided an attack by making the bears aware that we were there.
We are planning another trip to Alaska soon, but today I sleep in the confort of my 5th wheel trailer, and don't venture too far from the beaten path, but I will have a .44 tucked under my belt next to a can of pepper spray just in case.