久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      • <bdo id='v6nw6'></bdo><ul id='v6nw6'></ul>

      <i id='v6nw6'><tr id='v6nw6'><dt id='v6nw6'><q id='v6nw6'><span id='v6nw6'><b id='v6nw6'><form id='v6nw6'><ins id='v6nw6'></ins><ul id='v6nw6'></ul><sub id='v6nw6'></sub></form><legend id='v6nw6'></legend><bdo id='v6nw6'><pre id='v6nw6'><center id='v6nw6'></center></pre></bdo></b><th id='v6nw6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='v6nw6'><tfoot id='v6nw6'></tfoot><dl id='v6nw6'><fieldset id='v6nw6'></fieldset></dl></div>

      1. <tfoot id='v6nw6'></tfoot>

        <small id='v6nw6'></small><noframes id='v6nw6'>

        <legend id='v6nw6'><style id='v6nw6'><dir id='v6nw6'><q id='v6nw6'></q></dir></style></legend>

      2. RTL 語言 uipageviewcontroller 動畫

        RTL languages uipageviewcontroller animation(RTL 語言 uipageviewcontroller 動畫)
          <tbody id='paOo1'></tbody>

            <small id='paOo1'></small><noframes id='paOo1'>

          • <i id='paOo1'><tr id='paOo1'><dt id='paOo1'><q id='paOo1'><span id='paOo1'><b id='paOo1'><form id='paOo1'><ins id='paOo1'></ins><ul id='paOo1'></ul><sub id='paOo1'></sub></form><legend id='paOo1'></legend><bdo id='paOo1'><pre id='paOo1'><center id='paOo1'></center></pre></bdo></b><th id='paOo1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='paOo1'><tfoot id='paOo1'></tfoot><dl id='paOo1'><fieldset id='paOo1'></fieldset></dl></div>
              <bdo id='paOo1'></bdo><ul id='paOo1'></ul>
            • <legend id='paOo1'><style id='paOo1'><dir id='paOo1'><q id='paOo1'></q></dir></style></legend>
                <tfoot id='paOo1'></tfoot>

                  本文介紹了RTL 語言 uipageviewcontroller 動畫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我知道這個問題很典型,并且在論壇上被問過很多次,但我仍然無法解決我的問題,所以如果有任何人可以提供幫助,那就太好了:)

                  I know this question is typique and it was asked many times in the forum, but I still cannot solve my problem, so please if any body can help be that would be GREAT :)

                  我正在用阿拉伯語創(chuàng)建一個圖書應(yīng)用程序,我需要執(zhí)行 uipageviewcontroller 從右到左的轉(zhuǎn)換.這就是我要說的.

                  I am creating a book application in the arabic languages and I need to perform the transitions of the uipageviewcontroller from right to left. And thats all I have to say.

                  還有一件事(如果我沒有很好地解釋我自己的話)我有這個線程的確切需求:如何改變 UIPageViewController 的分頁卷曲動畫方向 但我無法做出他們所說的解決方案,所以如果有人可以解釋我或給我一個鏈接在那里我可以知道如何做到這一點已經(jīng)綽綽有余了:)

                  One more thing (if I hadn't explain very well my self) I have the exact need as this thread: How to change UIPageViewController direction of paging curl animation but I couldn't manage to make the solution they spoke about, so if someone can explain me or give me a link where I can have how to do it that would be more than enough :)

                  推薦答案

                  這樣就可以了

                  1. 將pageViewController的數(shù)據(jù)源代碼從viewControllerBeforeViewController換成viewControllerAfterViewController

                  UIPageViewControllerSpineLocationMin 更改為 UIPageViewControllerSpineLocationMax

                  要檢查這一點,請將基于頁面的應(yīng)用程序模板啟動為 Universal 并在 ModelController.m 中更改以下內(nèi)容

                  To check that, start Page-Based Application template as Universal and change the following in ModelController.m

                  - (UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerBeforeViewController:(UIViewController *)viewController
                  {
                      NSUInteger index = [self indexOfViewController:(DataViewController *)viewController];
                      if (index == NSNotFound) {
                          return nil;
                      }
                  
                      index++;
                      if (index == [self.pageData count]) {
                          return nil;
                      }
                      return [self viewControllerAtIndex:index storyboard:viewController.storyboard];
                  }
                  
                  - (UIViewController *)pageViewController:(UIPageViewController *)pageViewController viewControllerAfterViewController:(UIViewController *)viewController
                  {
                      NSUInteger index = [self indexOfViewController:(DataViewController *)viewController];
                      if ((index == 0) || (index == NSNotFound)) {
                          return nil;
                      }
                  
                      index--;
                      return [self viewControllerAtIndex:index storyboard:viewController.storyboard];
                  }
                  

                  UIPageViewControllerSpineLocationMin改為UIPageViewControllerSpineLocationMax,在RootViewController.m"中滑動(indexOfCurrentViewController % 2 == 0)的條件

                  and change UIPageViewControllerSpineLocationMin to UIPageViewControllerSpineLocationMax and swipe the condition of (indexOfCurrentViewController % 2 == 0) in "RootViewController.m"

                  - (UIPageViewControllerSpineLocation)pageViewController:(UIPageViewController *)pageViewController spineLocationForInterfaceOrientation:(UIInterfaceOrientation)orientation
                  {
                      if (UIInterfaceOrientationIsPortrait(orientation) || ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)) {
                          UIViewController *currentViewController = [self.pageViewController.viewControllers objectAtIndex:0];
                          NSArray *viewControllers = [NSArray arrayWithObject:currentViewController];
                          [self.pageViewController setViewControllers:viewControllers direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:NULL];
                  
                          self.pageViewController.doubleSided = NO;
                          return UIPageViewControllerSpineLocationMax;
                      }
                  
                      DataViewController *currentViewController = [self.pageViewController.viewControllers objectAtIndex:0];
                      NSArray *viewControllers = nil;
                  
                      NSUInteger indexOfCurrentViewController = [self.modelController indexOfViewController:currentViewController];
                      if (indexOfCurrentViewController == 0 || indexOfCurrentViewController % 2 == 0) {
                          UIViewController *previousViewController = [self.modelController pageViewController:self.pageViewController viewControllerBeforeViewController:currentViewController];
                          viewControllers = [NSArray arrayWithObjects:previousViewController, currentViewController, nil];
                      } else {
                          UIViewController *nextViewController = [self.modelController pageViewController:self.pageViewController viewControllerAfterViewController:currentViewController];
                          viewControllers = [NSArray arrayWithObjects:currentViewController, nextViewController, nil];
                      }
                      [self.pageViewController setViewControllers:viewControllers direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:NULL];
                  
                  
                      return UIPageViewControllerSpineLocationMid;
                  }
                  

                  來源:PageViewControllers Apple Doc

                  這篇關(guān)于RTL 語言 uipageviewcontroller 動畫的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標(biāo)已經(jīng)包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進(jìn)度圖像(iOS 5 屬性))

                  1. <i id='vD38o'><tr id='vD38o'><dt id='vD38o'><q id='vD38o'><span id='vD38o'><b id='vD38o'><form id='vD38o'><ins id='vD38o'></ins><ul id='vD38o'></ul><sub id='vD38o'></sub></form><legend id='vD38o'></legend><bdo id='vD38o'><pre id='vD38o'><center id='vD38o'></center></pre></bdo></b><th id='vD38o'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vD38o'><tfoot id='vD38o'></tfoot><dl id='vD38o'><fieldset id='vD38o'></fieldset></dl></div>

                    <small id='vD38o'></small><noframes id='vD38o'>

                      <tbody id='vD38o'></tbody>
                    <legend id='vD38o'><style id='vD38o'><dir id='vD38o'><q id='vD38o'></q></dir></style></legend>

                        • <bdo id='vD38o'></bdo><ul id='vD38o'></ul>
                          <tfoot id='vD38o'></tfoot>
                            主站蜘蛛池模板: 狠狠做六月爱婷婷综合aⅴ 国产精品视频网 | 久久久久久久久久久久一区二区 | 久久久久久久久99 | 欧美性大战xxxxx久久久 | 亚洲午夜精品一区二区三区他趣 | 91色啪| 成人二区 | 欧美一区二区三区日韩 | 亚洲天堂男人的天堂 | 色秀网站 | av片网站 | 一区二区三区不卡视频 | a在线观看| 91xxx在线观看 | 亚洲视频免费 | 欧美综合一区二区 | 色接久久| 最近中文字幕免费 | 欧洲一区在线观看 | 四虎永久免费黄色影片 | 成人精品国产 | 黄色毛片免费视频 | 久久久国产网站 | 日本精品一区二区三区四区 | 日日精品 | 国产一区999 | av片在线观看网站 | 福利视频二区 | 国产精品视频一区二区三区不卡 | 久久综合一区 | 亚洲第一在线 | 欧美精品在线一区二区三区 | 妖精视频一区二区三区 | 久久国产亚洲 | 亚洲成人一区二区在线 | 在线欧美一区 | 色综合一区二区三区 | 欧美xxxⅹ性欧美大片 | 亚洲网站在线观看 | 欧美精品片 | 欧美日韩在线播放 |