Localization Native Development Region

Source: Internet
Author: User
Tags mixed

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


2, the use of Mfmessagecomposeviewcontroller to write the text message module when the interface is English, using the following methods can solve the problem

In plist localization native development region Select China, then localized resources can be mixed choose YES, if there is no localized resources Can be mixed, manually added

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 the private API for iOS and cannot be audited by Apple)

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

5.
Mfmessagecomposeviewcontroller or Mfmailcomposeviewcontroller does not display keyboard issues 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 pop-up text message or the level of the Mail Controller page window, so it does not display keyboard problems (but 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;

}

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.