帮酷LOGO

A custom image view that implements device motion scrolling

实现设备运动滚动的自定义图像视图

将光标移到/点击文章中的句子上,可以查看译文。 显示原文      显示译文      双语对照

  • 显示内容
文章标签:IMP  scrolling  图像  VIEW  Implements  滚动  Motion  
A custom image view that implements device motion scrolling



  • Source Code:YXTMotionView
  • WebSite:http://www.github.com/hanton/YXTMotionView
  • YXTMotionView Documents
  • YXTMotionView Download
  • YXTMotionView

    A custom image view that implements device motion scrolling

    Installation

    CocoaPods

    • Add the dependency to your Podfile :
    platform :iospod 'YXTMotionView'...
    • Run pod install to install the dependencies.

    Source files

    Just clone this repository or download it in zip-file.then you will find source files under YXTMotionView directory.Copy them to your project.

    Usage

    • Import the header file to your view controller :
    #import"YXTMotionView.h"
    YXTMotionView *motionView = [[CRMotionView alloc] initWithFrame:self.view.bounds];
    [motionView setImage:[UIImage imageNamed:@"Image"]];
    [self.view addSubview:motionView];

    Screenshot

    screenshot

    Requirements

    • iOS 7.0 +
    • ARC
    • Core Motion

    Contributing

    Anyone who would like to contribute to the project is more than welcome.

    • Fork this repo
    • Make your changes
    • Submit pull request

    License

    YXTMotionView is released under the MIT license.

    Based on

    CRMotionView

    Contact

    Hanton Yang ( hanton.yang@gmail.com )



    文章标签:IMP  图像  VIEW  滚动  scrolling  Motion  Implements  

    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语