<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 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      618 隨筆 :: 87 文章 :: 225 評(píng)論 :: 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 閱讀(243) 評(píng)論(0)  編輯  收藏 所屬分類: iPhone
    主站蜘蛛池模板: 成人无遮挡毛片免费看| 一级毛片成人免费看a| 18未年禁止免费观看| 亚洲精品无码Av人在线观看国产| 成人免费视频一区二区| 免费A级毛片无码久久版| 亚洲AV无码一区二区三区电影| 性xxxx视频播放免费| 亚洲精品美女久久久久久久| 国产成人免费福利网站| 黄页网址在线免费观看| 亚洲精品A在线观看| 久久久WWW免费人成精品| 亚洲精品美女久久777777| 三年片在线观看免费西瓜视频| 亚洲人成网7777777国产| 成人电影在线免费观看| 2022年亚洲午夜一区二区福利| 2021国内精品久久久久精免费| 亚洲免费黄色网址| 青青草国产免费久久久下载| 黄色免费在线观看网址| 国产亚洲AV夜间福利香蕉149| 久久精品电影免费动漫| 亚洲伊人久久大香线蕉在观| 成人超污免费网站在线看| 老司机午夜性生免费福利| 伊伊人成亚洲综合人网7777| 中文字幕亚洲免费无线观看日本 | 18勿入网站免费永久| 亚洲另类无码专区丝袜| 亚洲精品无码日韩国产不卡?V| 中文字幕免费观看视频| 亚洲黄网在线观看| 日本高清免费不卡在线| h视频在线观看免费| 久久久久久久亚洲Av无码| 国产精品免费一级在线观看| 永久在线观看免费视频| 亚洲午夜成人精品无码色欲| 中国亚洲女人69内射少妇|