Commit 5e513f5c authored by Alex Moore's avatar Alex Moore

made keyboard disappear on scan book page

parent c15804e6
No preview for this file type
......@@ -162,19 +162,10 @@
<action selector="txtValueChange:" destination="chc-VY-Gqa" eventType="valueChanged" id="37Z-P5-S5j"/>
</connections>
</textField>
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SHh-PE-zpc">
<rect key="frame" x="236" y="507" width="128" height="73"/>
<fontDescription key="fontDescription" type="system" pointSize="30"/>
<state key="normal" title="Finish">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="centerX" secondItem="SHh-PE-zpc" secondAttribute="centerX" id="0cA-s2-pcG"/>
<constraint firstItem="ROA-6e-Pjx" firstAttribute="leading" secondItem="STn-V1-lxQ" secondAttribute="leadingMargin" id="0hg-2s-05T"/>
<constraint firstItem="iRa-hF-9bB" firstAttribute="top" secondItem="SHh-PE-zpc" secondAttribute="bottom" constant="20" id="1qc-PD-5ta"/>
<constraint firstAttribute="centerX" secondItem="28C-Wr-Ey7" secondAttribute="centerX" id="AbP-uv-U7T"/>
<constraint firstAttribute="centerY" secondItem="ybW-ia-BeV" secondAttribute="centerY" id="DPh-IR-Amw"/>
<constraint firstItem="H7S-u0-5kF" firstAttribute="top" secondItem="RKt-M1-hEG" secondAttribute="bottom" constant="79" id="Gsk-Gj-A38"/>
......
......@@ -33,7 +33,10 @@ static int BOOK_ID_LENGTH = 13;
[super viewDidLoad];
// Do any additional setup after loading the view.
lblSection.text = session.section;
[self.view addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self.view action:@selector(endEditing:)]];
// SEND SESSION TO RTI
//self.navigationItem.hidesBackButton = YES;
}
......@@ -42,15 +45,19 @@ static int BOOK_ID_LENGTH = 13;
// Dispose of any resources that can be recreated.
}
/*
#pragma mark - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
// Get the new view controller using [segue destinationViewController].
// Pass the selected object to the new view controller.
// TELL OCI TO END SESSION aka exit out of page
}
*/
-(void) changeCheckImage {
imgCheck.image = [UIImage imageNamed:@"greencheck.png"];
......@@ -99,14 +106,14 @@ static int BOOK_ID_LENGTH = 13;
} else {
//if not numeric
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Invalid Book ID" message:@"Book ID must be numeric" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
[alert show];
}
} else {
//if not 13 digits
}
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment