Blogs

iOS build architectures

In the latest Xcode, the build architectures is set to ARMv7 by default. Then it will not run on older models that using ARMv6.

ARMv6: iPhone 2G/3G, iPod 1stGen/2ndGen
ARMv7: iPhone 3GS or later, iPod 3rdGen or later, all iPad

So:

if only target for iPad:
ARMv7
else if only support 3GS or later/iPod 3rdGen or later:
ARMv7
else:
ARMv6 ARMv7

If you target for iPhone or iPhone/iPad and you will drop support for ARMv6 devices, you better set the following in the info.plist:

UIRequiredDeviceCapabilities: armv7

Delete a tag from remote git

In case you want to remove a tag from remote git repo. especially you want to update the tag:


git tag -d 0.0.1
git push origin :refs/tags/0.0.1

山寨 iPad Bluetooth Keyboard

最近買了這個 iPad Keyboard,用落也不錯。網站聲稱 iPad 2/iPad 3 合用,但我只在 iPad 2 上試過,之後再試是否可以在 iPad 3 上運作吧。

Behavior changed for parentViewController in iOS 5

Previously, if we present a modal view controller using:

[self presentModalViewController:modalViewController animated: YES]

We should able to get back the parent of the modal view controller using:

[modelViewController parentViewController]

and normally we will dismiss the view controller using:

[[modelViewController parentViewController] dismissModalViewControllerAnimated:YES];

Lion 去掉 Guest User

更新 Lion 後,login 時便多了一個 "Guest User" 的物體,不是很好看。

IMG_0976.JPG

原來它是 Lion 新功能,可以再沒有 login 的情況上給使用者可以用 Safari 上網。我當然不需要,於是要比它去掉。

Screen Shot 2011-11-19 at 4.52.10 PM.png Screen Shot 2011-11-19 at 4.52.25 PM.png

方法很簡單,去 System Preferences 裡的 Security & Privacy,把最後的一個選項 Disable restarting to Safari when screen is locked 點選,再 reboot 便大功告成了。

Lion 休眠後瞓唔醒問題

Macbook 比 PC Laptop 其中一個大優點是 Power management 好很多,包括休眠時的電源消耗少很多,休眠後喚醒得特別快。但是自從把 Macbook Air 從 Snow Leopard 升級到 Lion,我發現很多時休眠後機子也要定住 3-4 秒 cursor 才會動,然後又要等 2-3 秒機子才可以正常運作。雖然不是很長的時間,但這個 Macbook 很好的賣點便沒有了。

原來我的 Macbook 在 Lion 更新後休眠便由 Suspend-To-RAM(S0) 轉到去 Suspend-To-Disk(S3),於是休眠回復便慢了很多,解決方法是在 terminal 執行:

sudo pmset -a hibernatemode 0

把 hibernate mode 改回 S0,我的 Macbook Air 又再次回復醒瞓狀態!

[iPhone/iPad app][限時免費] GPlayer

限時免費avi, wmv, rmvb, mkv 播放器 >>>


★ Supported File Format Extension

✔ XVID/DIVX AVI, WMV, RMVB, ASF, H264, MKV, TS, M2TS... most of all movie file formats.
✔ MP3, WMA, WAV, OGG, FLAC... most of all audio file formats.
✔ SMI, ASS, SUB, SRT, TXT... most of all subtitle file formats. [build in subtitle is also supported]





[iPhone/iPad app][限時免費] My Sketch

限時免費相片變素描>>>


✔ Turn your photos to Beautiful Realistic Sketch
✔ Create unlimited sketches
✔ High Resolution
✔ Photos can be taken directly from Camera or Photo Album
✔ Choose 20 different type of Sketches
✔ Adjustment of Brightness and Contrast to achieve the best Sketch Results
✔ Sharing via Facebook,Twitter, Tumblr,Flickr and E-mail




[iPad app][限時免費] Learn Guitar

限時免費 iPad 上學彈結他,影像教學 >>>


If you've ever wanted to learn how to play the guitar but didn't know where to start and don't want to spend a lot of money on private lessons, this is the app for you! Mahalo's beginner guitar course will get you acquainted with the basics so you can start rockin' out.





[iPhone app][限時免費] 道道通移动导航系统

限時免費中國大陸地圖+汽車導航 >>>


为庆祝十一国庆节, 道道通移动导航系统特进行限时免费活动。本次活动时间截止时间:2011-10-7, 请您迅速下载。

1.产品特点
2011年夏季版全国地图数据。
3D路口放大图。35万张3D路口放大图,覆盖全国所有城市,提供最佳三维立体视觉效果。
鹰眼图。能在导航界面上同时预览全程路线和此刻大概方位,使导航路线更清晰。
双屏地图显示。提供3D、2D、3D-2D双屏显示。
模糊查询:能更快地找到目的地,并支持间隔模糊查询,从海量信息中搜索,智能匹配,帮助用护找到最佳的POI。
软件在iPhone、iPad上可通用。




Syndicate content