2

What are the controls sizes of the iOS native player? (couldn't find it).

These red lines:

enter image description here

Nimantha
  • 6,405
  • 6
  • 28
  • 69
gran33
  • 12,421
  • 9
  • 48
  • 76
  • 1
    In case you are planning to hardcode any value you find out about in your application or content, DONT! Apple may and will decide to reskin the player and change the sizes of these elements. – Till Mar 13 '14 at 03:06
  • How can i get these values??? (no hardcoded - promise!) – gran33 Mar 13 '14 at 09:35
  • 1
    There is no documented way to get them and the reasoning is pretty much clear, Apple does not want you to modify or extend the interface of the player. The only proper option is to create your own interface. – Till Mar 14 '14 at 00:01

1 Answers1

0

You should use some kind of a tool to discover the view hierarchy and the description of each view in this hierarchy.

Please see this SO post on approaches for view hierarchy inspection.

Community
  • 1
  • 1
Tom Susel
  • 3,397
  • 1
  • 24
  • 25