<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Sealyu

    --- 博客已遷移至: http://www.sealyu.com/blog

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks

    I’m back to programming and currently developing application for iPad. I needed something, what looked like a simplest thing – UITableView taking a portion of screen and SplitViewController wasn’t attractive option. To my surprise non of the obvious to me solutions worked until I’ve tried not-so-elegant reallocating of tableView.

    So, in myTableViewController I created custom init function:

    - (id) initWithFrame:(CGRect)frm {
    if ((self = [super initWithStyle: UITableViewStylePlain])){
    self.tableView = [[UITableView alloc] initWithFrame:frm style:UITableViewStylePlain];
    }
    return self;
    }

    Obviously, you can use default or your own init function or avoid passing frame argument and hardcode dimensions right here, but the magical line is:

    self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(x, y, width, height) style:UITableViewStylePlain];

    Well, at least it worked for me.

    posted on 2010-10-08 10:40 seal 閱讀(232) 評論(0)  編輯  收藏 所屬分類: iPhone
    主站蜘蛛池模板: 亚洲美女在线观看播放| 亚洲愉拍一区二区三区| 亚洲精品免费在线| 最新国产精品亚洲| 国产成人麻豆亚洲综合无码精品| 一级毛片不卡片免费观看| 久久亚洲国产最新网站| 色久悠悠婷婷综合在线亚洲| 114一级毛片免费| 又硬又粗又长又爽免费看| 337p日本欧洲亚洲大胆色噜噜| 日韩a在线观看免费观看| 国产va在线观看免费| 亚洲国产精品无码久久| 久久久久亚洲精品无码系列| 欧洲美熟女乱又伦免费视频| 久久国产精品国产自线拍免费| 亚洲AV性色在线观看| 久久精品国产亚洲AV电影| 国产一级做a爱免费视频| 99热在线观看免费| 特级毛片免费观看视频| 亚洲乱码一二三四区国产| 亚洲精品乱码久久久久久| 日日夜夜精品免费视频| 最近2019免费中文字幕视频三| 好湿好大好紧好爽免费视频| 亚洲高清乱码午夜电影网| 中文字幕亚洲第一在线| 亚洲精品无码久久千人斩| 国产免费卡一卡三卡乱码| 无人在线观看完整免费版视频| 暖暖日本免费中文字幕| A国产一区二区免费入口| 亚洲AV无码一区二区三区性色| 亚洲婷婷综合色高清在线| 亚洲AV无码不卡在线播放| 亚洲爽爽一区二区三区| 国产自产拍精品视频免费看| 免费看国产成年无码AV片| 99精品在线免费观看|