<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
    主站蜘蛛池模板: 波多野结衣在线免费观看| 99视频在线看观免费| 黑人粗长大战亚洲女2021国产精品成人免费视频 | 亚洲不卡中文字幕| 日本xxxx色视频在线观看免费| 亚洲精品国产品国语在线| 精品免费久久久久国产一区| 国产亚洲精品看片在线观看| 国产精品小视频免费无限app| 亚洲天堂在线视频| a毛片免费全部播放完整成| 亚洲国产精品SSS在线观看AV| 色欲A∨无码蜜臀AV免费播| 亚洲黄色在线观看网站| 免费h片在线观看网址最新| 亚洲精品中文字幕无乱码麻豆| 免费黄色app网站| 国产精品亚洲综合一区在线观看 | 久久亚洲中文字幕精品一区| 一区二区三区在线观看免费| 亚洲日韩精品无码专区网址| 国产精成人品日日拍夜夜免费| 亚洲神级电影国语版| 中文字幕人成无码免费视频| 亚洲大尺度无码无码专线一区| 亚洲视频一区二区| 50岁老女人的毛片免费观看| 亚洲最大中文字幕无码网站| 亚洲国产成人精品女人久久久 | 在线观看黄片免费入口不卡| 久久精品国产69国产精品亚洲| 精品一区二区三区无码免费视频| 亚洲一级毛片中文字幕| 国产精品成人免费综合| 国产99久久久久久免费看| 青青草原精品国产亚洲av| 成人免费一区二区三区在线观看| 成人免费夜片在线观看| 99久久精品国产亚洲| 国产成人精品123区免费视频| 免费久久人人爽人人爽av|