Thursday, 25 February 2016

how to Set Edges and TableView Frame Hight IOS/Iphone

=> =================================================
  self.edgesForExtendedLayout=UIRectEdgeNone;
    self.extendedLayoutIncludesOpaqueBars=NO;
    self.automaticallyAdjustsScrollViewInsets=NO;
    self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil] ;


======================================================
 CGRect frame = tblvw.tableHeaderView.frame;
    frame.size.height = 1;
    UIView *headerView = [[UIView alloc] initWithFrame:frame];
    [tblvw setTableHeaderView:headerView];
======================================================