Localization native development region in Info.plist files in iOS

Source: Internet
Author: User
Tags mixed

1, call the system camera to take pictures, the bottom button is in English, here to switch to Chinese characters: in plist inside localization native development region Choose

2, use Mfmessagecomposeviewcontroller to write text messaging module when the interface is in English, the following method can solve the problem

Inside the plist Localization native development region Select the, then localized the can be mixed choose YES if there is no localized resources Can be mixed, need to add manually

3, [UIApplication sharedapplication].networkactivityindicatorvisible=no;

4, the iphone using code implementation program to achieve the current application of the shutdown, and to achieve the same effect as home.

(Terminatewithsuccess is a proprietary API for iOS and cannot be audited by Apple)

[[UIApplication sharedapplication] Performselector: @selector (terminatewithsuccess)];

5,
Mfmessagecomposeviewcontroller or mfmailcomposeviewcontroller the problem of not displaying the keyboard under IOS6 This issue appears to occur only if you manually change the system status bar level

For example: Self.window.windowLevel = uiwindowlevelstatusbar+1;

This setting is equivalent to affecting the level of pop-up SMS or Mail Controller page window, causing the keyboard problem to not appear (although this problem is not ios6 below)

Workaround: Add the following code to the current view controller to resolve

-(void) Viewdidappear: (BOOL) Animated {

[Super viewdidappear:animated];

Self.window.windowLevel = Uiwindowlevelnormal;

}

Related Article

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.