Two bugs in iPhone development: 1. Memory warning when calling camera results in automatic view upload, 2, not enough frames in stack.

Source: Internet
Author: User

1. The most tangled problem.

The main problems are the following differences.

P. P1 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 12.0px Monaco; color: #008c00}
P. P2 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 12.0px Monaco; color: #490085}
Span. S1 {color: #000000}
Span. S2 {color: # cb00a5}

// [Self. navigationcontroller pushviewcontroller: viewcontroller animated: Yes];

[Self presentmodalviewcontroller: viewcontroller animated: Yes];

The line commented out is the automatic upload that will be warned by the memory. The reason is that the iPhone system considers this view not to be displayed at this time. The following modal method, you can ensure that you are not warned about Upload by the system memory. Although navigationcontroller can achieve more animation effects, it can only give up. Here are explanations:

Http://stackoverflow.com/questions/1834128/memory-warning-after-using-the-uiimagepicker-once

However, I have been exploring the specific problem for a long time. Apple did not say that the navigationcontroller pushviewcontroller switch view mode is not displayed.

 

2. I did not test it on my own. I was suspected of having problems with the openfeint update. I didn't think much about it at the time. I just overwritten the old openfeint.

Actual solution :( from: http://www.cocoachina.com/bbs/read.php? Tid-10706-fpage-5.html)

* Select 'targets' in the groups & files pane.
* Right click your target and select get info.
* Select the 'general 'tab.
* Under 'linked libraries' change the following libraries from 'requestred' to 'weak'
* Uikit
* Mapkit


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.