iphone - Usage of captive network -


sorry english. want app use captive network. idea when user try connect captive portal network app open instead od relative web sheet. know have use function cnsetsupportedssids(), don't understand how implement it. in advance!

this code have wrote.

- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions {     nsarray *array = [nsarray arraywithobjects:@"ssid of network",nil];     bool ok = cnsetsupportedssids((__bridge cfarrayref) array);      if(ok)     {         nslog(@"completed %lu",(unsigned long)[array count]);     }     else     {         nslog(@"failed");     }     // override point customization after application launch.     return yes; } 

Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -