한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app



SettingsView.m

[settingsStore synchronize]; 셋팅값을가져와서 코아값을 set

[self recomputeAccountLabelsAndSync]; //동기화


- (void)viewDidLoad {

[super viewDidLoad];


settingsStore = [[LinphoneCoreSettingsStore alloc] init]; //린폰코아 세팅스토어 크래스복제


_settingsController.showDoneButton = FALSE;

_settingsController.delegate = self;

_settingsController.showCreditsFooter = FALSE;

_settingsController.settingsStore = settingsStore;


[_navigationController.view setBackgroundColor:[UIColor clearColor]];


_navigationController.view.frame = self.subView.frame;

[_navigationController pushViewController:_settingsController animated:FALSE];

[self.view addSubview:_navigationController.view];

}



뷰열면서 바로시작

- (void)settingsViewControllerWillAppear:(IASKAppSettingsViewController *)sender {

isRoot = (sender.file == nil || [sender.file isEqualToString:@"Root"]);

_titleLabel.text = sender.title;


// going to account: fill account specific info

if ([sender.file isEqualToString:@"Account"]) {

LOGI(@"Going editing account %@", sender.title);

[settingsStore transformAccountToKeys:sender.title]; //어카운트이면 어카운트셋팅값만 새로셋팅

} else if ([sender.file isEqualToString:@"Contacts"]) {

[settingsStore synchronize];

[self recomputeLdapLabelsAndSync];

} else if ([sender.file isEqualToString:@"LDAP"]) {

LOGI(@"Going editing LDAP config %@", sender.title);

[settingsStore transformLdapToKeys:sender.title];

} else if ([sender.file isEqualToString:@"Root"]) { // coming back to default: if we were in account, we must synchronize account now

[settingsStore synchronize];   //루트이면 공통값과 어카운트 설정값을가져온다

[self recomputeAccountLabelsAndSync];

}

}


각각의 어카운트 설정값을 리로드한다


- (void)recomputeAccountLabelsAndSync {

// it's a bit violent... but IASK is not designed to dynamically change subviews' name

_settingsController.hiddenKeys = [self findHiddenKeys];

[_settingsController.settingsReader indexPathForKey:@"menu_account_1"]; // force refresh username'

[_settingsController.settingsReader indexPathForKey:@"menu_account_2"]; // force refresh username'

[_settingsController.settingsReader indexPathForKey:@"menu_account_3"]; // force refresh username'

[_settingsController.settingsReader indexPathForKey:@"menu_account_4"]; // force refresh username'

[_settingsController.settingsReader indexPathForKey:@"menu_account_5"]; // force refresh username'

[[_settingsController tableView] reloadData];

}



- (IASKSettingsReader *)settingsReader {

IASKSettingsReader *r = [super settingsReader];

NSMutableArray *dataSource = [NSMutableArray arrayWithArray:[r dataSource]];

if ([[UIApplication sharedApplication] applicationState] != UIApplicationStateBackground) {

for (int i = 0; i < [dataSource count]; ++i) {

NSMutableArray *specifiers = [NSMutableArray arrayWithArray:[dataSource objectAtIndex:i]];

for (int j = 0; j < [specifiers count]; ++j) {

id sp = [specifiers objectAtIndex:j];

if ([sp isKindOfClass:[IASKSpecifier class]]) {

sp = [SettingsView filterSpecifier:sp];

}

[specifiers replaceObjectAtIndex:j withObject:sp];

}


[dataSource replaceObjectAtIndex:i withObject:specifiers];

}

} else {

NSLog(@"Application is in background, linphonecore is off, skiping filter specifier.");

}

[r setDataSource:dataSource];

return r;

}


////////////////////////////////////////////////////////////////////


#import "IASKSettingsReader.h"

#import "IASKSpecifier.h"


@interface IASKSettingsReader (private)

- (void)_reinterpretBundle:(NSDictionary*)settingsBundle;

- (BOOL)_sectionHasHeading:(NSInteger)section;

- (NSString *)platformSuffix;

- (NSString *)locateSettingsFile:(NSString *)file;


@end



@implementation IASKSettingsReader


@synthesize path=_path,

localizationTable=_localizationTable,

bundlePath=_bundlePath,

settingsBundle=_settingsBundle, 

dataSource=_dataSource,

hiddenKeys = _hiddenKeys;


- (id)init {

return [self initWithFile:@"Root"];

}


- (id)initWithFile:(NSString*)file {

if ((self=[super init])) {



self.path = [self locateSettingsFile: file];

[self setSettingsBundle:[NSDictionary dictionaryWithContentsOfFile:self.path]];

self.bundlePath = [self.path stringByDeletingLastPathComponent];

_bundle = [NSBundle bundleWithPath:[self bundlePath]];


// Look for localization file

self.localizationTable = [self.settingsBundle objectForKey:@"StringsTable"];

if (!self.localizationTable)

{


조회 수 :
242
등록일 :
2022.06.18
23:36:16 (*.128.199.207)
엮인글 :
http://webs.co.kr/index.php?document_srl=3348779&act=trackback&key=7ef
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3348779
List of Articles
번호 제목 글쓴이 날짜 조회 수
35 linphone-iphone CallKit reportIncomingCall code analyze admin 2022-07-16 151
34 linphone-iphone SettingsView settingsStore removeAccount admin 2022-06-22 197
33 Linphone-iphone AssistantView code analysis admin 2022-06-22 206
32 linphone-iphone IASKSettingsReader .plist-> locateSettingsFile -> setSettingsBundle save admin 2022-06-20 204
31 linphone-iphone IASKSettingsReader IASKSpecifier code analysis admin 2022-06-19 210
» Linphone-iphone SettingsView code analysis admin 2022-06-18 242
29 linphone-iphone call number call button code analysis admin 2022-06-18 237
28 linphone-iphone/Settings/InAppSettings.bundle/ plist file list code analysis admin 2022-06-16 249
27 linphone-iphone sourcecode SideMenuTableView code analysis admin 2022-06-16 242
26 linphone-iphone sourcecode SideMenuView code analysis admin 2022-06-14 282
25 linphone-iphone popup_password_request popup code analysis admin 2022-06-12 270
24 linphone-iphone account code analysis admin 2022-06-11 281
23 Pjsip 설명 정리 동작 함수 admin 2019-09-09 2766
22 Basic registration test sourec code admin 2019-05-06 3204
21 mDNS 덕분에 SIP 네트워크 배포가 쉬워졌습니다. admin 2018-09-01 5124
20 스마트폰 070 장점 국내전화 국제전화 로밍요금 해결 꼭 사용해보세요 admin 2018-01-07 7405
19 카카오톡PC에서 사용하는 오픈소스 라이브러리 admin 2017-12-01 8454
18 해외 로잉 무료 스마트폰 휴대폰 070 인터넷폰 인터넷전화 국내 해외 가입 상사 주재원 교민 유학생 여행 등 file admin 2015-02-28 27138
17 070가입 않고 국내 유선 무선 집전화 휴대폰 전화 해외 국내에서 전화 수신 받는 방법 admin 2015-02-28 482851
16 using a g729 codec in SipDroid Add G729 to Sipdroid admin 2014-12-28 16750
15 Compiling linphone 3.7.0 on Debian Wheezy admin 2014-10-21 19745
14 opus-codec Opus Interactive Audio Codec admin 2014-10-10 16279
13 HD-Voice의 정체 admin 2014-10-09 18259
12 Acrobits 아이폰 용 sip 프로그램 Softphone 070인터넷전화 수신 잘되는 client 무료 file admin 2014-06-02 27664
11 스마트폰 무제한 무료통화 앱 WIFI 2G 3G 4G LTE VOIP mVOIP SIP 요금절약 admin 2014-05-31 49241
10 스마트폰 070 인터넷전화 무료통화 앱 WIFI 5G 4G LTE SIP 요금절약 file admin 2014-02-11 74971
9 mVoIP 보다 VoLTE가 좋은 점 admin 2013-11-21 19823
8 Sipdroid wiki and english manuall file admin 2013-11-09 42661
7 TCP Connection Test Program file admin 2013-09-28 50031
6 Third party open source sip stacks library for Android over B4A 오픈소스 라이브러리 admin 2013-09-23 20026