<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
    主站蜘蛛池模板: 浮力影院第一页小视频国产在线观看免费 | 亚洲一本之道高清乱码| 国产91在线|亚洲| 一个人免费观看视频在线中文| 四虎成人精品永久免费AV| 免费无码看av的网站| 亚洲综合在线一区二区三区| a级成人毛片免费视频高清| 成年女人看片免费视频播放器| 国产亚洲美女精品久久久2020 | 人成午夜免费视频在线观看| 亚洲无线码一区二区三区| 一本色道久久综合亚洲精品蜜桃冫| 国产在线jyzzjyzz免费麻豆| 亚洲综合熟女久久久30p| a级毛片免费播放| 亚洲综合男人的天堂色婷婷| 国产午夜无码片免费| 国产成人涩涩涩视频在线观看免费| 久久精品国产亚洲av麻豆小说| jizz中国免费| 亚洲AV无码乱码精品国产| 亚洲综合av一区二区三区不卡 | 在线观看免费黄色网址| 亚洲综合小说久久另类区| 国产精品免费观看久久| 亚洲国产成人精品电影| 97在线视频免费播放| 亚洲AV永久精品爱情岛论坛| fc2免费人成在线| 亚洲国产精品一区| 黄网站免费在线观看| 亚洲综合伊人久久大杳蕉| 亚洲精品视频在线观看免费| 亚洲Av无码专区国产乱码DVD| 97青青草原国产免费观看| 亚洲综合日韩中文字幕v在线 | 最近国语视频在线观看免费播放 | 亚洲国产成人综合精品| 免费国产黄网站在线观看视频| 亚洲乱码一二三四区乱码|