andreamazz / SlideOutNavigation

SlideOut Navigation Controller for iOS.
MIT License
210 stars 49 forks source link

The menu icon should have a bigger hit area, and be touchable in the corner #62

Closed hakanw closed 10 years ago

hakanw commented 10 years ago

Hello,

I'm using this framework and have noticed a lot of users miss the icon because they try to touch it in the upper left corner. So they touch a few times and finally manage to target it on the third try. This feels like a usability fail.

This is actually a well-known user interface / usability phenomenon also known as Fitts' Law; that people tend to navigate on screens and user interfaces relative to corners and edges of the screen. This is for example why you can open the apple menu by clicking in the upper left corner of your screen. Also, the back button in all iOS applications is reachable by clicking in the corner.

Sorry if that motivation is a bit too long. :)

I've been looking into how to extend the hit rect while keeping the menu icon intact. Maybe by changing the padding of the containerview for this icon somehow? Any ideas?

Thanks for a great framework!

andreamazz commented 10 years ago

Hi @hakanw, thanks for your feedback Checkout commit 2417abc and let me know if that's better. Cheers

hakanw commented 10 years ago

This is awesome, thank you @andreamazz ! I still need to test it. Currently using this project through CocoaPods so need to make a custom Podfile first. I'll try it this coming week. Thanks again!

andreamazz commented 10 years ago

Hi @hakanw, there's no need for a custom podspec, you just need to add the :head synbol to your podfile, like this:

pod 'AMSlideOutController', :head

This will fetch the source directly from the latest commit.

hakanw commented 10 years ago

Aah, that's a good pro tip. :)

2014-02-02 Andrea Mazzini notifications@github.com:

Hi @hakanw https://github.com/hakanw, there's no need for a custom podspec, you just need to add the :head synbol to your podfile, like this:

pod 'AMSlideOutController', :head

This will fetch the source directly from the latest commit.

Reply to this email directly or view it on GitHubhttps://github.com/andreamazz/SlideOutNavigation/issues/62#issuecomment-33899928 .

hakanw commented 10 years ago

It works perfectly! Thank you @andreamazz

andreamazz commented 10 years ago

Happy to help. Cheers