`

Iphone开发中的两个小bug,1.调用camera时的内存警告导致view自动upload,2,Not enough frames in stack.

 
阅读更多

1.最让人纠结的问题。

全部的主要问题在于下面的区别。

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];

注释掉的那一行就是原来会被内存警告自动upload,原因在于iphone系统认为此时此view是不可显示的,下面那种modal的方式,可以保证自己不被系统的内存警告upload掉。虽然navigationController能实现更多的切换动画效果,此时也只能放弃了。在这里有解释现象:

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

但是自己碰到的具体问题,还是摸索了很久,苹果也没有说navigationController pushViewController的切换view方式就算是不显示啊。

2.我自己测试机没有测试出来,疑似更新OpenFeint出现的问题,当时没有考虑太多,仅仅是通过覆盖原有旧OpenFeint。

实际解决方案:(来自: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 'Required' to 'Weak'
* UIKit
* MapKit


分享到:
评论

相关推荐

    Debugging with GDB --2001年5.3

    2 Getting In and Out of GDB . . . . . . . . . . . . . . . 11 2.1 Invoking GDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Choosing files . . . . . . . . . ....

    Debugging with GDB --2007年

    Stack frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Stacks Without frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Commands for ...

    Springer.The.Developer’s.Guide.to.Debugging.2008.pdf

    1 You Write Software; You have Bugs . . . . . . . . . 1 2 A Systematic Approach to Debugging . . . . . . . 5 2.1 Why Follow a Structured Process? . . . . . . . 5 2.2 Making the Most of Your ...

    Stack Frames pdf

    Stack Frames Stack Frames Stack Frames Stack Frames

    Stack Frames A Look From Inside 无水印pdf

    Stack Frames A Look From Inside 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系...

    New Year Camera Frames 1.00

    New Year Camera Frames 1.00 大小:9.51MB 更新时间:2015-01-20 Use our New Year Frames to spice your photos with 100 photo effects, 50 stickers and messages.You can share your memories with friends ...

    Debugging with GDB --2003年6.0

    2 Getting In and Out of gdb . . . . . . . . . . . . . . . . 11 2.1 Invoking gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Choosing files . . . . . . . ....

    Stack Frames A Look From Inside pdf 0分

    Stack Frames A Look From Inside 英文pdf

    最新版的DebuggingWithGDB7.05-2010

    2 Getting In and Out of gdb . . . . . . . . . . . . . . . . . . . 11 2.1 Invoking gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Choosing ...

    DebuggingWithGDB 6.8-2008

    2 Getting In and Out of gdb . . . . . . . . . . . . . . . . 11 2.1 Invoking gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1.1 Choosing Files . . . ....

    Stack Frames A Look From Inside epub

    Stack Frames A Look From Inside 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    matlab开发-frames2gif.zip.zip

    matlab开发-frames2gif.zip.zip

    阿呆系列PhotoshopCS6

    About This Book...............................................................................................1 How This Book Is Organized.................................................................

    document.frames在非IE浏览器中的解决办法

    解决使用js进行下拉列表关联时使用documnet.frames方法在非ie中无响应的方法

    Stack Frames(Apress,2016)

    Lastly you will go in-depth to understand the intricacies of stack frames. A vital resource for all computer security students and enthusiasts, add Stack Frames: A Look Inside to your library today. ...

    Stack Frames - A Look from Inside.pdf

    Stack Frames - A Look from Inside.pdf Stack Frames - A Look from Inside.pdf

    iphone h.264 live encode 实时 硬编码

    Fortunately, the AVAssetWriter live encoder does not require re-ordering of frames. When the file gets too large, a new instance of AVAssetWriter is used, so that the old temporary file can be ...

    Making Games with Python & PyGame.pdf(with code)

    Chapter 1 – Installing Python and Pygame ...................................................................................... 1 What You Should Know Before You Begin ..................................

    Python库 | audio.frames-2.3.1.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:audio.frames-2.3.1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    iso-iec 14496-10(3rd_2006-03-01)_MPEG4_AVC_H264.pdf

    2 Normative references.................................................................................................................................................. 1 3 Definitions...................

Global site tag (gtag.js) - Google Analytics