[ios] mobile network tuning

http://helloworld.naver.com/helloworld/111111
http://deview.kr/2012/xe/index.php?mid=track&document_srl=397&time_srl=260

* key point
1. wake-up delay(promotion delay) overcome by warmup
2. reduce RTT(POP), DNS lookup time, increase band with via (interanet between IDC)
3. tcp congestion control (initial window size -> 16?)

[ios] auto layout programatically

* first :

willBeAddedView.translatesAutoresizingMaskIntoConstraints = NO;
[parentView addSubView:willBeAddedView];
[parentView addConstraints:.....define your self];

* Reference http://www.thinkandbuild.it/learn-to-love-auto-layout-programmatically/ https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/VisualFormatLanguage/VisualFormatLanguage.html#//apple_ref/doc/uid/TP40010853-CH3-SW11

[ios] App crash when you try to render some special text.

Cause

CoreText render issue. Font unable to render special character.

Example

* reference : http://arstechnica.com/security/2015/05/beware-of-the-text-message-that-crashes-iphones/

 

لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ


 

 

Error Log


2015-03-31 17:24:29.893 YourAppName[3456:1360936]
CoreText: *** Unmapped "\U00010B3B" {name = AppleSDGothicNeo-Regular, size = 17.000000, matrix = 0x0, descriptor = {attributes = {type = mutable dict, count = 1,
entries =>
1 : {contents = "NSFontNameAttribute"} = {contents = "AppleSDGothicNeo-Regular"}
}
>}}
2015-03-31 17:24:29.894 YourAppName[3456:1360936]
CoreText: *** Unmapped "\U00010B3B" {name = AppleSDGothicNeo-Regular, size = 17.000000, matrix = 0x0, descriptor = {attributes = {type = mutable dict, count = 1,
entries =>
1 : {contents = "NSFontNameAttribute"} = {contents = "AppleSDGothicNeo-Regular

Similar Sympthoms

http://www.maclife.com/article/news/apple_coretext_rendering_bug_causes_crashes_ios_6_os_x_108

The way to avoid this problem

replace un-renderable text to white box character.