Wednesday 18 October 2017

Mahira Khan is Ms Don’t-Care-A-Damn as she finally talks about her viral pics with Ranbir Kapoor – watch video

A few weeks back, Bollywood fans were surprised to see pictures of Ranbir Kapoor and Mahira Khan hanging out in New York, smoking in an alley. Though they were just lighting a fag there, the pictures were enough for their fans to deduce that something was going on between these two. However, the Pakistani movie fans were far harsher than their Indian counterparts as they relentlessly trolled Mahira for wearing a backless picture as well as smoking in a public place.

Many of her colleagues both from Pakistani movie industry as well as in Bollywood came out in support of her. Even Ranbir had spoken about this to a channel where he called out on the bigots who tried to demean her character, just because she is a woman. But Mahira had been silent.

Well, until now, as she finally opens up about what she felt about the backlash she got over those controversial pics. She was asked about this when she was promoting her upcoming movie Verna. She said, “I am a very careful person otherwise. People ask me that I do not do this in films (smoking and wearing backless dress), I say I do not want to.

How to Root Android Phone
All Mobile Phone Step by Step Details 

Why should I do anything to show the world? It is my personal life and it is very normal for a boy and girl to hang out. Nowadays, media is not only present at events but everywhere. So, I have learnt from it.” Mahira, what can we say other than quote these lines from a popular Kishore Kumar song – Kuch toh log kahenge, logon ka kaam hai kehna.
Earlier, NDTV quoted a statement of Ranbir which read, “I’ve gotten to know Mahira in a personal capacity over the last few months. She is somebody who I admire and respect, for her achievements and even more for the person she is. 

It is very unfair the way she is being judged and spoken about. What is also sad is the inequality in judgment just because she is a woman. I request you to stop the negativity and move on with your beautiful god gifted lives. Peace and love.” He completed it with a note at the end which is the best reaction ever. It says, “PS: Both smoking and hate are injurious to health.

Saturday 15 July 2017

How To Add 3D Touch To Your IOS App

3D Touch Utility
The 3D Touch technology was first introduced on the iPhone 6s and 6s+. Devices supporting 3D Touch are equipped with a tap force sensitive display, measuring the pressure on the screen. The 3D Touch technology allows users to press an app icon on the Home screen and get a quick access to some functionality presented in the app. Also, within an app, a user can get access to some features.
From iOS 9, Apple made 3D Touch APIs available:
  • Home Screen Quick Action API
  • UIKit peek and pop API
  • Web view peek and pop API
  • UITouch force properties
In order to find out whether a device supports the 3D Touch technology, you have to read out the forceTouchCapability values. While the app is working, a user can turn off 3D Touch, so this value has to be checked in the traitCollectionDidChange delegate method.
- (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection {

if (self.traitCollection.forceTouchCapability == UIForceTouchCapabilityAvailable) {

NSLog(@"3D Touch is available");

} else {

NSLog(@"3D Touch is not available on this device");

}

}
Firmware Flash File
3D Touch Quick Actions
There are two types of Home Screen Quick Actions: dynamic and static.
Static actions are defined in the Info.plist file within the UIApplicationShortcutItems array.
Dynamic actions have to be added to the UIApplication application object in the shortcutItems property. You can use two methods for creation:
Method 1
init(type: String,

localizedTitle: String,

localizedSubtitle: String?,

icon: UIApplicationShortcutIcon?,

userInfo: [AnyHashable: Any]? = nil)
This method creates a Home screen dynamic quick action with a header, optional subheader, optional icon, and optional user info dictionary.
Method 2
convenience init(type: String,

localizedTitle: String)
Creates a Home screen dynamic quick action with a header but with no icon.
Quick Actions Handler
func application(application: UIApplication,
performActionForShortcutItem shortcutItem: UIApplicationShortcutItem, completionHandler: Bool -> Void) {
let didHandle: Bool = /* handle the quick action using shortcutItem */
completionHandler(didHandle)
}
func application(application: UIApplication,didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
var performAdditionalHandling = true
if let shortcutItem = launchOptions?[UIApplicationLaunchOptionsShortcutItemKey]
as? UIApplicationShortcutItem {
/* handle the quick action using shortcutItem */
performAdditionalHandling = false
}
return performAdditionalHandling
}
UIKit peek and pop API
This API is used for content preview (quick) and further transition to it. New methods in UIViewController for ViewController registration and registration cancellation allow notifications as to whether it is going to be used by 3D Touch. Additionally added are new protocols for 3D Touch support.
ViewController registration:
-(id)registerForPreviewingWithDelegate:(id)delegate sourceView:(UIView *)sourceView;
Peek:
- (UIViewController *)previewingContext: (id)previewingContext viewControllerForLocation:(CGPoint)location {
// check if we're not already displaying a preview controller
if ([self.presentedViewController isKindOfClass:[PreviewViewController class]]) {
return nil;
}
// shallow press: return the preview controller here (peek)
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *previewController = [storyboard instantiateViewControllerWithIdentifier:@"PreviewView"];
return previewController;
}
Commit:
- (void)previewingContext:(id)previewingContext commitViewController:(UIViewController *)viewControllerToCommit {
// deep press: bring up the commit view controller (pop)
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
UIViewController *commitController = [storyboard instantiateViewControllerWithIdentifier:@"CommitView"];
[self showViewController:commitController sender:self];
// alternatively, use the view controller that's being provided here (viewControllerToCommit)
}
In preview, you can also add UIPreviewAction and UIPreviewActionGroup
UIPreviewAction *action1 = [UIPreviewAction actionWithTitle:@"Action 1"

style:UIPreviewActionStyleDefault handler:^(UIPreviewAction * _Nonnull action,

UIViewController * _Nonnull previewViewController) {

NSLog(@"Action 1 triggered");

}];
// add them to an arrary

NSArray *actions = @[action1, action2, action3];
// add all actions to a group

UIPreviewActionGroup *group1 = [UIPreviewActionGroup actionGroupWithTitle:@"Action Group"

style:UIPreviewActionStyleDefault actions:actions];

NSArray *group = @[group1];
The True Potential of 3D Touch
As developers are getting to know the benefits of the 3D technology, it becomes clear that it will become a staple.

Friday 13 January 2017

Jio Filmfare Awards pre-party was a starry night graced by Shah Rukh Khan, Alia Bhatt, Sonam Kapoor!

It's going on! The most anticipated honors appear, Jio Filmfare Awards are practically around the bend. It's not quite recently just an elegant occasion perceiving the best of ability in Bollywood, yet one that CELEBRATES the motion pictures and the whole film industry! Also, this time, Jio will convey every one of the fans nearer to the 62nd Filmfare grants with their affiliation. Now that is one radiant combine. With their aggregate reach, Jio Filmfare Awards is certain to take advantage of extremely Bollywood fan's heart out there.

The alluring and glamourous Jio Filmfare Awards will be hung on January 14, 2017. The designations are out and Jio Filmfare Awards anticipates your votes in favor of to pick your top choices.



As a keep running up to the glorious night, Jio and Filmfare composed a pre-grants party as of late, and it was an elegant issue. Bollywood turned out in style and Shah Rukh Khan, Alia Bhatt, Karan Johar, Sonakshi Sinha, Sonam Kapoor – were all there to commend film and have some good times night together. Furthermore, needleless to state, the on-screen characters ventured out on celebrity lane in style and panache.

Jio Filmfare Awards pre-grants gathering was facilitated by Neha Dhupia, who kept everybody engaged, and mixed drinks added the punch to the occasion. Neha collaborated with the Jio Filmfare Awards chosen people and their fun talk left everybody in parts. Taking after that, there was a glitzy mold appear by expert fashioner Manish Malhotra, who got the loudest round of praise. Amit Sharma, Sophie Choudhary, Jasleen Royale's joyful exhibitions kept the stimulation remainder of the gathering high and going!

62nd Jio Filmfare Awards will be facilitated by Shah Rukh Khan, Karan Johar and Manish Paul.