Skip to content

Commit

Permalink
Closes keyboard when logging in. Adds app icon and launch image
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed Mar 23, 2014
1 parent 72b00d3 commit 5b1d746
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions BeMyEyes/Images.xcassets/AppIcon.appiconset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"idiom" : "iphone",
"filename" : "[email protected]",
"scale" : "2x"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"idiom" : "iphone",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"orientation" : "portrait",
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "retina4",
"extent" : "full-screen",
"filename" : "[email protected]",
"minimum-system-version" : "7.0",
"orientation" : "portrait",
"scale" : "2x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions BeMyEyes/Source/Controllers/BMELoginViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ - (IBAction)loginButtonPressed:(id)sender {
[alert show];
} else {
[self loginWithEmail:self.emailTextField.text password:self.passwordTextField.text];

if ([self.emailTextField isFirstResponder]) {
[self.emailTextField resignFirstResponder];
} else if ([self.passwordTextField isFirstResponder]) {
[self.passwordTextField resignFirstResponder];
}
}
}

Expand Down
Binary file added Resources/AppIcon.psd
Binary file not shown.

0 comments on commit 5b1d746

Please sign in to comment.