Posts

iOS 12 wrong navigation bar height

Image
2 I'm working on an iPad app in landscape orientation. There is a navigation bar at the top without a status bar, and I want to line up a UITableView such that the top of the table is at the same y coordinate as the bottom of the navigation bar. Naturally, I do the following in viewDidLoad : MyTableView* table = [[MyTableView alloc] init]; table.frame = CGRectMake(someX, navBar.frame.size.height, someWidth, someHeight); [self.view addSubview:table]; At this point, navBar.frame.size.height returns 44. This is strange, because when I run the app, I see that my table overlaps the bottom of the navigation bar by a few points. I do some investigation, and find out that the navigation bar is actually drawing with a height of 50 points. I try to think what could be wrong, and realize that perhaps I'm doing th...

Castello di Annone

Image
  Nota: Para outras cidades contendo este nome, veja Castello.   Nota: Para outras cidades contendo este nome, veja Annone. Coordenadas: 44° 53' N 8° 19' E Castello di Annone      Comuna    Castello di Annone Localização de Castello di Annone na Itália Coordenadas 44° 53' N 8° 19' E Região Piemonte Província Asti Área  - Total 23 18 km² Altitude 109 m População  - Total 1 823 (30-6-2 017)     • Densidade 78,65 hab./km² Outros dados Comunas limítrofes Asti, Cerro Tanaro, Quattordio (AL), Refrancore, Rocca d'Arazzo, Rocchetta Tanaro Código ISTAT 005028 Código postal 14034 Prefixo telefônico 0141 Sítio www.comune.castellodigodego.tv.it Castello di Annone é uma comuna italiana da região do Piemonte, província de Asti, com cerca de 1.781 habitantes. Estende-se por uma área de 23 km², tendo uma densidade populacional de 77 hab/km²....