APFeedBack
APFeedBack copied to clipboard
Feedback to send iOS enabled developer NSLog file create .txt
APFeedBack
Usage
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
APFeedBack is available through CocoaPods. To install it, simply add the following line to your Podfile:
Deprecated old version
pod "APFeedBack"
New version iOS 15*
pod 'APFeedBack', '~> 0.1.4'
Example objective-C
- (IBAction)feedback_Push:(id)sender;
{
APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
fd.developer_LogFile=NO; //To turn feedbacklog.txt on, turn on developer_LogFile = YES
fd.mailHTML=YES;
[self.navigationController pushViewController:fd animated:YES];
}
- (IBAction)feedback_modal:(id)sender
{
APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:fd];
navController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentViewController:navController animated:YES completion:nil];
}
//AppDelegate
[[DeviceInfo deviceManager]logfilecreate];
Example Swift
@IBAction func openPushViewController(_ sender: UIButton) {
let fd = APFeedTableViewController()
fd.developer_LogFile = true
fd.mailHTML = true
navigationController?.pushViewController(fd, animated: true)
}
@IBAction func openModalViewController(_ sender: UIButton) {
let fd = APFeedTableViewController()
fd.developer_LogFile = true
fd.mailHTML = true
fd.modalPresentationStyle = .formSheet
present(fd, animated: true, completion: nil)
}
//AppDelegate
DeviceInfo.deviceManager().logfilecreate()
Author
appsyscode, [email protected]
License
APFeedBack is available under the MIT license. See the LICENSE file for more info.