iOS no height for keyboard as notification data is null





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







-1















I've been working on getting the height of the keyboard in swift 4.2. I've been using the Notification Center to call a function when the keyboard shows which accepts a notification as a param, which I think is pretty standard? Here I want to calculate the height. However the notification object is missing data and I can't calculate the height.



NSConcreteNotification 0x16e43a710 {
name = UIKeyboardDidShowNotification; userInfo = {
UIKeyboardAnimationCurveUserInfoKey = 7;
UIKeyboardAnimationDurationUserInfoKey = "0.25";
UIKeyboardBoundsUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardCenterBeginUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardCenterEndUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardIsLocalUserInfoKey = 1;
}
}


I call a commonInit function from my init method which sets up the methods to call:



private func commonInit() {
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(notification:)), name: UIResponder.keyboardDidShowNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide), name: UIResponder.keyboardWillHideNotification, object: nil)

}


KeyboardWillShow Function



@objc private func keyboardWillShow(notification:NSNotification) {

let userInfo = notification.userInfo! as NSDictionary
let keyboardFrame = userInfo.value(forKey: UIResponder.keyboardFrameEndUserInfoKey) as! NSValue
let keyboardRectangle = keyboardFrame.cgRectValue
let keyboardHeight = keyboardRectangle.height

print(keyboardHeight)
}


Is there something missing to get the notification data?










share|improve this question

























  • Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

    – Vatsal K
    Nov 23 '18 at 15:13











  • I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

    – Keith Darragh
    Nov 23 '18 at 15:16











  • you want to calculate the height of keyboard only?

    – wings
    Nov 23 '18 at 15:17











  • try this link: stackoverflow.com/questions/31774006/…

    – Vatsal K
    Nov 23 '18 at 15:18











  • Possible duplicate of How to get height of Keyboard?

    – Vatsal K
    Nov 23 '18 at 15:19


















-1















I've been working on getting the height of the keyboard in swift 4.2. I've been using the Notification Center to call a function when the keyboard shows which accepts a notification as a param, which I think is pretty standard? Here I want to calculate the height. However the notification object is missing data and I can't calculate the height.



NSConcreteNotification 0x16e43a710 {
name = UIKeyboardDidShowNotification; userInfo = {
UIKeyboardAnimationCurveUserInfoKey = 7;
UIKeyboardAnimationDurationUserInfoKey = "0.25";
UIKeyboardBoundsUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardCenterBeginUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardCenterEndUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardIsLocalUserInfoKey = 1;
}
}


I call a commonInit function from my init method which sets up the methods to call:



private func commonInit() {
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(notification:)), name: UIResponder.keyboardDidShowNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide), name: UIResponder.keyboardWillHideNotification, object: nil)

}


KeyboardWillShow Function



@objc private func keyboardWillShow(notification:NSNotification) {

let userInfo = notification.userInfo! as NSDictionary
let keyboardFrame = userInfo.value(forKey: UIResponder.keyboardFrameEndUserInfoKey) as! NSValue
let keyboardRectangle = keyboardFrame.cgRectValue
let keyboardHeight = keyboardRectangle.height

print(keyboardHeight)
}


Is there something missing to get the notification data?










share|improve this question

























  • Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

    – Vatsal K
    Nov 23 '18 at 15:13











  • I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

    – Keith Darragh
    Nov 23 '18 at 15:16











  • you want to calculate the height of keyboard only?

    – wings
    Nov 23 '18 at 15:17











  • try this link: stackoverflow.com/questions/31774006/…

    – Vatsal K
    Nov 23 '18 at 15:18











  • Possible duplicate of How to get height of Keyboard?

    – Vatsal K
    Nov 23 '18 at 15:19














-1












-1








-1








I've been working on getting the height of the keyboard in swift 4.2. I've been using the Notification Center to call a function when the keyboard shows which accepts a notification as a param, which I think is pretty standard? Here I want to calculate the height. However the notification object is missing data and I can't calculate the height.



NSConcreteNotification 0x16e43a710 {
name = UIKeyboardDidShowNotification; userInfo = {
UIKeyboardAnimationCurveUserInfoKey = 7;
UIKeyboardAnimationDurationUserInfoKey = "0.25";
UIKeyboardBoundsUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardCenterBeginUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardCenterEndUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardIsLocalUserInfoKey = 1;
}
}


I call a commonInit function from my init method which sets up the methods to call:



private func commonInit() {
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(notification:)), name: UIResponder.keyboardDidShowNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide), name: UIResponder.keyboardWillHideNotification, object: nil)

}


KeyboardWillShow Function



@objc private func keyboardWillShow(notification:NSNotification) {

let userInfo = notification.userInfo! as NSDictionary
let keyboardFrame = userInfo.value(forKey: UIResponder.keyboardFrameEndUserInfoKey) as! NSValue
let keyboardRectangle = keyboardFrame.cgRectValue
let keyboardHeight = keyboardRectangle.height

print(keyboardHeight)
}


Is there something missing to get the notification data?










share|improve this question
















I've been working on getting the height of the keyboard in swift 4.2. I've been using the Notification Center to call a function when the keyboard shows which accepts a notification as a param, which I think is pretty standard? Here I want to calculate the height. However the notification object is missing data and I can't calculate the height.



NSConcreteNotification 0x16e43a710 {
name = UIKeyboardDidShowNotification; userInfo = {
UIKeyboardAnimationCurveUserInfoKey = 7;
UIKeyboardAnimationDurationUserInfoKey = "0.25";
UIKeyboardBoundsUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardCenterBeginUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardCenterEndUserInfoKey = "NSPoint: {0, 0}";
UIKeyboardFrameBeginUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardFrameEndUserInfoKey = "NSRect: {{0, 0}, {0, 0}}";
UIKeyboardIsLocalUserInfoKey = 1;
}
}


I call a commonInit function from my init method which sets up the methods to call:



private func commonInit() {
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(notification:)), name: UIResponder.keyboardDidShowNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide), name: UIResponder.keyboardWillHideNotification, object: nil)

}


KeyboardWillShow Function



@objc private func keyboardWillShow(notification:NSNotification) {

let userInfo = notification.userInfo! as NSDictionary
let keyboardFrame = userInfo.value(forKey: UIResponder.keyboardFrameEndUserInfoKey) as! NSValue
let keyboardRectangle = keyboardFrame.cgRectValue
let keyboardHeight = keyboardRectangle.height

print(keyboardHeight)
}


Is there something missing to get the notification data?







ios iphone swift swift4.2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 19:01







Keith Darragh

















asked Nov 23 '18 at 15:10









Keith DarraghKeith Darragh

917




917













  • Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

    – Vatsal K
    Nov 23 '18 at 15:13











  • I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

    – Keith Darragh
    Nov 23 '18 at 15:16











  • you want to calculate the height of keyboard only?

    – wings
    Nov 23 '18 at 15:17











  • try this link: stackoverflow.com/questions/31774006/…

    – Vatsal K
    Nov 23 '18 at 15:18











  • Possible duplicate of How to get height of Keyboard?

    – Vatsal K
    Nov 23 '18 at 15:19



















  • Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

    – Vatsal K
    Nov 23 '18 at 15:13











  • I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

    – Keith Darragh
    Nov 23 '18 at 15:16











  • you want to calculate the height of keyboard only?

    – wings
    Nov 23 '18 at 15:17











  • try this link: stackoverflow.com/questions/31774006/…

    – Vatsal K
    Nov 23 '18 at 15:18











  • Possible duplicate of How to get height of Keyboard?

    – Vatsal K
    Nov 23 '18 at 15:19

















Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

– Vatsal K
Nov 23 '18 at 15:13





Are you trying in simulator or actual device? If you are trying in simulator than press Command+K to open the keyboard. Is the keyboard gets appear?

– Vatsal K
Nov 23 '18 at 15:13













I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

– Keith Darragh
Nov 23 '18 at 15:16





I've tried it in both simulator and device. The keyboard appears on screen but I don't get enough notification data to calculate the height. The notification object is the same each time

– Keith Darragh
Nov 23 '18 at 15:16













you want to calculate the height of keyboard only?

– wings
Nov 23 '18 at 15:17





you want to calculate the height of keyboard only?

– wings
Nov 23 '18 at 15:17













try this link: stackoverflow.com/questions/31774006/…

– Vatsal K
Nov 23 '18 at 15:18





try this link: stackoverflow.com/questions/31774006/…

– Vatsal K
Nov 23 '18 at 15:18













Possible duplicate of How to get height of Keyboard?

– Vatsal K
Nov 23 '18 at 15:19





Possible duplicate of How to get height of Keyboard?

– Vatsal K
Nov 23 '18 at 15:19












1 Answer
1






active

oldest

votes


















-1














That's what I always use:



func addObservers() {
NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillShow(notification: notification as NSNotification)
}

NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillHide(notification: notification as NSNotification)
}

}


func keyboardWillShow(notification: NSNotification) {
if let userInfo = notification.userInfo {
let keyboardHeight = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height
}
//... do your stuff...
}





share|improve this answer


























  • Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

    – Keith Darragh
    Nov 23 '18 at 15:40











  • How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

    – mag_zbc
    Nov 23 '18 at 15:45











  • @KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

    – DungeonDev
    Nov 23 '18 at 16:03













  • It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

    – Keith Darragh
    Nov 23 '18 at 16:11











  • MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

    – DungeonDev
    Nov 23 '18 at 22:44












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449071%2fios-no-height-for-keyboard-as-notification-data-is-null%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









-1














That's what I always use:



func addObservers() {
NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillShow(notification: notification as NSNotification)
}

NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillHide(notification: notification as NSNotification)
}

}


func keyboardWillShow(notification: NSNotification) {
if let userInfo = notification.userInfo {
let keyboardHeight = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height
}
//... do your stuff...
}





share|improve this answer


























  • Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

    – Keith Darragh
    Nov 23 '18 at 15:40











  • How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

    – mag_zbc
    Nov 23 '18 at 15:45











  • @KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

    – DungeonDev
    Nov 23 '18 at 16:03













  • It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

    – Keith Darragh
    Nov 23 '18 at 16:11











  • MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

    – DungeonDev
    Nov 23 '18 at 22:44
















-1














That's what I always use:



func addObservers() {
NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillShow(notification: notification as NSNotification)
}

NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillHide(notification: notification as NSNotification)
}

}


func keyboardWillShow(notification: NSNotification) {
if let userInfo = notification.userInfo {
let keyboardHeight = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height
}
//... do your stuff...
}





share|improve this answer


























  • Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

    – Keith Darragh
    Nov 23 '18 at 15:40











  • How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

    – mag_zbc
    Nov 23 '18 at 15:45











  • @KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

    – DungeonDev
    Nov 23 '18 at 16:03













  • It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

    – Keith Darragh
    Nov 23 '18 at 16:11











  • MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

    – DungeonDev
    Nov 23 '18 at 22:44














-1












-1








-1







That's what I always use:



func addObservers() {
NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillShow(notification: notification as NSNotification)
}

NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillHide(notification: notification as NSNotification)
}

}


func keyboardWillShow(notification: NSNotification) {
if let userInfo = notification.userInfo {
let keyboardHeight = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height
}
//... do your stuff...
}





share|improve this answer















That's what I always use:



func addObservers() {
NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillShowNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillShow(notification: notification as NSNotification)
}

NotificationCenter.default.addObserver(forName: UIResponder.keyboardWillHideNotification,
object: nil,
queue: nil) { [weak self] (notification) in
self?.keyboardWillHide(notification: notification as NSNotification)
}

}


func keyboardWillShow(notification: NSNotification) {
if let userInfo = notification.userInfo {
let keyboardHeight = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as AnyObject).cgRectValue.size.height
}
//... do your stuff...
}






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 23 '18 at 15:31

























answered Nov 23 '18 at 15:23









DungeonDevDungeonDev

4491511




4491511













  • Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

    – Keith Darragh
    Nov 23 '18 at 15:40











  • How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

    – mag_zbc
    Nov 23 '18 at 15:45











  • @KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

    – DungeonDev
    Nov 23 '18 at 16:03













  • It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

    – Keith Darragh
    Nov 23 '18 at 16:11











  • MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

    – DungeonDev
    Nov 23 '18 at 22:44



















  • Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

    – Keith Darragh
    Nov 23 '18 at 15:40











  • How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

    – mag_zbc
    Nov 23 '18 at 15:45











  • @KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

    – DungeonDev
    Nov 23 '18 at 16:03













  • It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

    – Keith Darragh
    Nov 23 '18 at 16:11











  • MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

    – DungeonDev
    Nov 23 '18 at 22:44

















Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

– Keith Darragh
Nov 23 '18 at 15:40





Notification does not contain data to get the height. For some reason notification is missing data which allows the height to be calculated

– Keith Darragh
Nov 23 '18 at 15:40













How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

– mag_zbc
Nov 23 '18 at 15:45





How is this answer helpful? OP already showed that he's using keyboardWillShowNotification and that keyboardFrameEndUserInfoKey contains zero rect.

– mag_zbc
Nov 23 '18 at 15:45













@KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

– DungeonDev
Nov 23 '18 at 16:03







@KeithDarragh: when do you call the commonInit() func? Could it be a problem in the VC lifecycle? I usually call in in the viewWillAppear function

– DungeonDev
Nov 23 '18 at 16:03















It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

– Keith Darragh
Nov 23 '18 at 16:11





It's not getting called in a UIViewController - it's getting called in a UIView. So it gets called in its init function after super.init(frame: CGRect.zero). Does it matter where it's called for notifications of this type?

– Keith Darragh
Nov 23 '18 at 16:11













MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

– DungeonDev
Nov 23 '18 at 22:44





MMmm... even in a UIView it works, I've tried the code. Could you please show the whole code?

– DungeonDev
Nov 23 '18 at 22:44




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53449071%2fios-no-height-for-keyboard-as-notification-data-is-null%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Academy of Television Arts & Sciences

L'Équipe

1995 France bombings