Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
There is a rectangle area is just above keyboard if you select Chinese or Japanese input.
I want to know what is that control, I think it is inputAccessoryView, does anyone help me?

I tried to use custom UIButton to simulate it, but not exact, does anyone help me?
 

Attachments

  • SnapShot 2010-11-05 at 20.09.14.jpg
    SnapShot 2010-11-05 at 20.09.14.jpg
    55.7 KB · Views: 103
  • SnapShot 2010-11-05 at 23.52.04.jpg
    SnapShot 2010-11-05 at 23.52.04.jpg
    94.3 KB · Views: 89
Last edited by a moderator:
It could be an inputAccessoryView. You just create a plain UIView and add your buttons to it. I don't think there's any simple way to get a button that matches the buttons you show in the Japanese/Chinese input method view. You just have to experiment with it. I don't think it's essential that your buttons look identical to those in the Japanese/Chinese input method view.
 
It could be an inputAccessoryView. You just create a plain UIView and add your buttons to it. I don't think there's any simple way to get a button that matches the buttons you show in the Japanese/Chinese input method view. You just have to experiment with it. I don't think it's essential that your buttons look identical to those in the Japanese/Chinese input method view.
Thanks for your suggestion, I want to create a new custom Chinese Input method, so that I hope my keyboard looks like the standard keyboard.

By the way, I have a general question, do you know how can I get the RGB and alpha value of a color in picture?

I do it using Windows paint to pick up the color on saved picture as above, but in this way, I can only know value of RGB, what about alpha value? is there any tools to get value of alpha?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.