2

ページングの方向に関連する間違いがあります。iBooks などのアプリケーションを開発していますが、これは左から右へのページングの方向をサポートする必要があります。このアプリケーションは、アラビア語の本を読むためのものです。

を使用しPrivate API(CAFilter)ましたが、アプリケーションはアプリストアの審査に合格していません。

方向のパラメーターを作成pageViewControllerして変更しました。アプリケーションを次のように書き直します

UIPageViewController."direction:UIPageViewControllerNavigationDirectionReverse"
pageViewController = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStylePageCurl navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:nil];
[pageViewController setViewControllers:controllers direction:UIPageViewControllerNavigationDirectionReverse animated:NO completion:nil];

方向性が変わったね。しかし、私の本はまだ右から左にページされています. なんで?

4

1 に答える 1

0

//[Constants getCurrentLan] アプリの言語がアラビア語の場合は bool を返します //アラビア語の場合は、スパインの位置を最大に設定します

NSDictionary *options = [Constants getCurrentLan] ? [NSDictionary dictionaryWithObject: [NSNumber numberWithInteger:UIPageViewControllerSpineLocationMax] forKey: UIPageViewControllerOptionSpineLocationKey] : nil;


self.pageViewController = [[UIPageViewController alloc] initWithTransitionStyle:UIPageViewControllerTransitionStylePageCurl                                                                navigationOrientation:UIPageViewControllerNavigationOrientationHorizontal options:options];
于 2013-02-20T07:33:48.467 に答える