A summary of Xcode programming issues

Source: Internet
Author: User

Xcode programming Problems Summary, the need for friends can refer to the next.


Solve the Software Installation failure problem-solving method, resetting the simulator, restarting the Xcode,clean project

1, push new interface with the old interface overlap, is the new interface background color is clear colors, the new interface default clear;

2, if the Contentview inside a new interface, the interface to push the new interface, or will be framed in content,
[Self.mainVC.navigationControllerpushViewController:aboutVCanimated:YES];
Using this will jump out of content;

3, if a view of the child view than the view, the child views will be out of the parent view, placed in the content is also;

4, the simulator can not call the camera function, the use of Map positioning function must be in the debugging inside the custom location (positioning can not install Baidu map)

5. If the method declared within the <import> class cannot be called in a function, it is possible that the method inside the class is not exposed

6. If the printed data is unreasonable, it is possible that the data type is wrong, the code in the conversion process error

7, [SelfdismissViewControllerAnimated:YEScompletion:nil]; Call this statement, will hide the interface, display the interface before the interface;
8, delete Xcode a project certificate and so on, into the organizer of Xcode completed, in organizer inside switch to projects, and then delete derived data run try again;

9, an error is encountered while running (Domain = nsposixerrordomain, Code = 22)
FIX: Bundle identifier is empty, enter information casually, or reset simulator, remove program

10, IOS6 inside the label default background color is white, but more than 7 default background color is clear, so if you add a label of the same size on a imageview of 6 you can't see that imageview anyway, Only the label background color is set to [Uicolorclearcolor].

A summary of Xcode programming issues

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.