<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 閱讀(231) 評論(0)  編輯  收藏 所屬分類: iPhone
    主站蜘蛛池模板: 国产男女猛烈无遮档免费视频网站 | 午夜亚洲乱码伦小说区69堂| 桃子视频在线观看高清免费完整| 国产成人亚洲综合无码精品| 高清永久免费观看| 亚洲欧洲中文日韩av乱码| 一级毛片一级毛片免费毛片| 亚洲片一区二区三区| 久久久精品国产亚洲成人满18免费网站| 免费在线观看污网站| 一区免费在线观看| 国产AⅤ无码专区亚洲AV| a级毛片高清免费视频就| 国产精品亚洲A∨天堂不卡| 四虎影视在线影院在线观看免费视频 | 亚洲人xxx日本人18| 大学生高清一级毛片免费| 国产亚洲精品欧洲在线观看| 亚洲国产人成中文幕一级二级| 国产VA免费精品高清在线| 亚洲VA中文字幕无码毛片| 99在线观看视频免费| 亚洲视频一区二区在线观看| 成人免费一级毛片在线播放视频| 亚洲午夜福利在线视频| 免费一级毛片在级播放| 中文在线观看国语高清免费| 亚洲精品国产成人专区| 日韩免费a级毛片无码a∨| 亚洲av无码无线在线观看| 亚洲人妻av伦理| 99国产精品免费观看视频| 亚洲一区二区三区成人网站| 亚洲 无码 在线 专区| 爱丫爱丫影院在线观看免费 | 亚洲精品中文字幕无乱码麻豆| 国产美女做a免费视频软件| 国产精品福利片免费看| 亚洲国产成人久久三区| 亚洲av中文无码| 99re在线精品视频免费|