navigationbar - ios navigation bar item image size -


i want customize navigation bar button , using own images. question size should be? found button size should 40*40, image should 80*80 retina?

these sizes documentation recommends custom icons now.

enter image description here

  • @1: 25 x 25
  • @2: 50 x 50
  • @3: 75 x 75

create 3 images of above pixel sizes , add them new image set in assets.xcassets file. (apparently @1 size no longer needed, though.)

enter image description here

alternatively, use universal vector image (pdf) (see here , here). has been preference recently.

related answer


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -