Coder Social home page Coder Social logo

fixbackindicatorimage's Introduction

0行代码设置UINavigationBar无Back文字

一般的,UINavigationController push完界面后,左上角会出现一个小左箭头,同时会出现“Back”(如果真机是中文则是显示“返回”)。 但是怎么消除文字只要左箭头呢,一般的情况是自定义UIBarButtonItem,然后设置setLeftBarButtonItem。 这样的导致的问题有很多,如果你的工程中调用类似UIImagePickerController这样的原生类是无济于事的。而且如果本身使用的是iOS 7原生的侧滑返回(如果你不用第三方的侧滑返回),这样的效果是会失效的。 想了下,写了个demo出来。解决了如下问题,1.消除返回的“Back”文字。2.自定义小箭头的frame。 代码直接拖到工程中即可使用。简单方便。希望你喜欢。。。

fixbackindicatorimage's People

Contributors

mfh313 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.