2013年1月24日 星期四

iOS rotation problem on iOS5 & iOS6 (續)

因為top-most  controller


所以只好耍一點方法來做

將專案的選轉方向設定成 n 個

然後依照每個 navigation 來決定要不要轉

如果遇到轉或不轉交替的VC

就在多套一個navigation  來隔開

(不過我似乎記得有一篇文章不建議navigation push navigation)

2013年1月7日 星期一

iOS Auto test

http://www.stewgleadow.com/blog/2011/10/26/which-automated-ios-testing-tool-to-use/


可能會選擇 KIF  or  UIAutomatic  (不過要先跟 cocoapod合合看)

有實驗過 Frank  不過 他似乎跟 cocoapod不合 ...  (另問文章中也有提到,他對手勢的支援度低)








iOS Automated Tests with UIAutomation

http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation






這篇還沒有仔細看過...


2013年1月6日 星期日

iOS rotation problem on iOS5 & iOS6

http://blog.csdn.net/totogogo/article/details/8002173


for ios6的top-most controller决定orientation设置,导致这样一个问题:在 top-most controller里的views无法拥有不相同的orientation设置。例如:for iphone, 在nav controller里,你有main view, sub view and sub sub view,前2个都只能打竖,而sub sub view是用来播放video,可以打横打竖。那么在ios 4 and 5里可以通过在main view and sub view的shouldAutorotateToInterfaceOrientation里设置只能打竖,而在sub sub view的shouldAutorotateToInterfaceOrientation设置打竖打横即可。而在ios 6里则无法实现这种效果,因为在main view, sub view and sub sub view的orientation设置是无效的,只能够在nav controller里设置。

orz

iOS UIWebview something

http://www.cocoachina.com/applenews/devnews/2013/0105/5473.html


備存  之後會用到