Horizontal padding between UIPageViewController child view controllers

后端 未结 3 1620
半阙折子戏
半阙折子戏 2021-02-08 00:49

I am using UIPageViewController to display images that are embedded in child view controllers.

NSDictionary *options = [NSDictionary dictionaryWithObject: [NSNum         


        
3条回答
  •  醉梦人生
    2021-02-08 01:19

    check UIPageViewController init method

    - (id)initWithTransitionStyle:(UIPageViewControllerTransitionStyle)style navigationOrientation:(UIPageViewControllerNavigationOrientation)navigationOrientation options:(NSDictionary *)opt

    you can pass your inter page space value to opt in UIPageViewControllerOptionInterPageSpacingKey

提交回复
热议问题