Techbirds | Knowledge Hub | Page 27
Windows phone default having Ui like Metro type.There is no property to set corner radius for Windows phone buttons. If our requirement is to create a button with curve edges, then we can do like this by overriding control template of button.
|
596 total views, no views today
596 total views, no views today
It happens sometime that a specific theme like Light or Dark looks good in some application. In such case, you have to specify all the colours manually to background foreground etc. This is very hectic job. There is an easy way to force a Window phone 8 App to use Specific Theme:- ThemeManager library (open
Read More →
473 total views, no views today
Difference between a pseudo-class and a pseudo-element Pseudo-Class A pseudo-class is way of selecting certain parts of a HTML document, based in principle not on the HTML document tree itself and its elements or on characteristics like name, attributes or contents, but on other phantom conditions like language encoding or the dynamic state of an
Read More →
1,634 total views, no views today
//Calculating duration time of a video NSNumber *durationtime=[item valueForProperty:MPMediaItemPropertyPlaybackDuration]; NSLog(@”url is %@,%@”,url,durationtime.stringValue); durationtime = @([durationtime floatValue] /60); float value = [durationtime floatValue]; NSString* formattedNumber = [NSString stringWithFormat:@”%.02f”, value]; Cell.timeDuration.text=formattedNumber; NSLog(@”Size = %@”,Cell.timeDuration); 591 total views, no views today
591 total views, no views today
Call this method in table view delegate – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { //Do other Stuffs Here NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:Cell, @”Cell”, url, @”itemurl”, nil]; [self performSelectorInBackground:@selector(generateThumbImage:) withObject:dict]; } // This is the method -(void)generateThumbImage : (id)dict { // Get the data to pass in NSDictionary *dictt = (NSDictionary *)dict; NSURL *url =
Read More →
1,440 total views, no views today