20150627 Sharing Notes

Source: Internet
Author: User

    1. Util is the meaning of the tool; Ad hoc is special, temporary meaning; validate is the meaning of verification;
    2. Packaged
    3. Apple's keyboard is so good
    4. 6 Plus Real machine test error: No architectures to compile for (Only_active_arch=yes, ACTIVE arch=arm64, Valid_archs=armv7 arm7s). The workaround is to set "Build Active Architecture only" to "NO"

    5. The method of judging whether the real machine is 6 or 6plus is as follows, if the result is

      Only need to judge is iphone7,2 can know this is iPhone6.

      As for IPhone6 Plus is iphone7,1 so the judgment is IPhone6 Plus.

// Get device model

-(nsstring*) devicestring


// need to #import "sys/utsname.h"

structutsname systemInfo;


nsstring *platform = [nsstringstringwithcstring : SystemInfo. Machine encoding:nsutf8stringencoding];

return platform;


20150627 Sharing Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.