私は現在、CollectionViewControllerを持っています。セルをクリックすると、詳細ビューコントローラ(TableViewController)が表示されます。TableViewControllerはモーダルに表示されません
モーダルTableVCを表示するためのコード:物事は上記のコードで正常に動作している
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *detailVC = [storyboard instantiateViewControllerWithIdentifier:@"DetailTimetableViewController"];
[self presentViewController:detailVC animated:true completion:nil];
、テーブルビューコントローラをモーダルモードで表示され、スクロールが正常に動作しています。
しかし、私はをUIViewControllerAnimatedTransitioningカスタムを作成する、このチュートリアル(http://blog.matthewcheok.com/design-teardown-preview-expanding-cells/)を、その後、私は完全に正常に動作するようにチュートリアルからすべてを持っていました。表示TableVCため
コードモーダル(カスタムアニメーション付き):TableViewControllerが提示されている場合しかし、すべてがを除いて正常に動作している
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *detailVC = [storyboard instantiateViewControllerWithIdentifier:@"DetailTimetableViewController"];
ExpandingCellTransition *transition = [[ExpandingCellTransition alloc]init];
detailVC.transitioningDelegate = transition;
[self presentViewController:detailVC animated:true completion:nil];
、それは下にスクロール可能にしない、とで制限されています特定の高さ。
私は同様の問題(TableViewControllerを下にスクロールできません)を検索しようとしましたが、ソリューションを適用しようとしましたが動作しませんでした。私はカスタムトランジェントデリゲートの問題の原因と考えています。
あなたのテーブルビューcontを確認するストーリーボードのローラー制約 –
テーブルビューコントローラーに制約を追加しようとしましたが、できませんでしたが、制約フォームは空白です。同じシナリオ(http://stackoverflow.com/questions/21182226/unable-to-use-autolayout-constraints-in-a-tableview)とにかくありがとう:D – Daryl
これを試してみてくださいhttp://stackoverflow.com/questions/29804323/xcode-adding-constraints-to-uitableview-so-that-it-fits-all-screen-sizes –